org.jboss.ejb3.interceptor
Class InterceptorInfoRepository

java.lang.Object
  extended by org.jboss.ejb3.interceptor.InterceptorInfoRepository

Deprecated. use the new interceptors component

@Deprecated
public class InterceptorInfoRepository
extends Object

A repository of interceptor details shared amongst all containers in this deployment. Interceptors differ from other ejb 3 artifacts in that we can have annotations on the interceptor classes which are not the ejb container, so we cannot use annotation overrides on the interceptors themselves.

The xml structures get added on deployment.
Interceptors only declared by using @Interceptors on the bean class get added on demand.

Version:
$Revision: 70409 $
Author:
Kabir Khan

Constructor Summary
InterceptorInfoRepository(ClassLoader classLoader)
          Deprecated.  
 
Method Summary
 void addBeanClass(String classname)
          Deprecated.  
static boolean checkValidBeanLifecycleSignature(Method method)
          Deprecated. EJB3 12.4 Lifecycle methods may throw runtime exceptions, but not application exceptions.
static boolean checkValidBusinessSignature(Method method)
          Deprecated.  
static boolean checkValidLifecycleSignature(Method method)
          Deprecated.  
 Method[] getBeanClassAroundInvokes(EJBContainer container)
          Deprecated.  
 Method[] getBeanClassPostActivates(EJBContainer container)
          Deprecated.  
 Method[] getBeanClassPostConstructs(EJBContainer container)
          Deprecated.  
 Method[] getBeanClassPreDestroys(EJBContainer container)
          Deprecated.  
 Method[] getBeanClassPrePassivates(EJBContainer container)
          Deprecated.  
 HashSet<InterceptorInfo> getDefaultInterceptors()
          Deprecated.  
 InterceptorInfo getInterceptorInfo(Class clazz)
          Deprecated.  
 ArrayList<InterceptorInfo> getMethodInterceptors(EJBContainer container, Method m)
          Deprecated.  
 boolean hasDefaultInterceptors()
          Deprecated.  
 void initialise(org.jboss.metadata.ejb.jboss.JBossMetaData dd)
          Deprecated.  
static String simpleType(Class type)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorInfoRepository

public InterceptorInfoRepository(ClassLoader classLoader)
Deprecated. 
Method Detail

initialise

public void initialise(org.jboss.metadata.ejb.jboss.JBossMetaData dd)
Deprecated. 

addBeanClass

public void addBeanClass(String classname)
Deprecated. 

getInterceptorInfo

public InterceptorInfo getInterceptorInfo(Class clazz)
Deprecated. 

getDefaultInterceptors

public HashSet<InterceptorInfo> getDefaultInterceptors()
Deprecated. 

hasDefaultInterceptors

public boolean hasDefaultInterceptors()
Deprecated. 

getMethodInterceptors

public ArrayList<InterceptorInfo> getMethodInterceptors(EJBContainer container,
                                                        Method m)
Deprecated. 

getBeanClassAroundInvokes

public Method[] getBeanClassAroundInvokes(EJBContainer container)
Deprecated. 

getBeanClassPostConstructs

public Method[] getBeanClassPostConstructs(EJBContainer container)
Deprecated. 

getBeanClassPostActivates

public Method[] getBeanClassPostActivates(EJBContainer container)
Deprecated. 

getBeanClassPrePassivates

public Method[] getBeanClassPrePassivates(EJBContainer container)
Deprecated. 

getBeanClassPreDestroys

public Method[] getBeanClassPreDestroys(EJBContainer container)
Deprecated. 

checkValidBusinessSignature

public static boolean checkValidBusinessSignature(Method method)
Deprecated. 

checkValidLifecycleSignature

public static boolean checkValidLifecycleSignature(Method method)
Deprecated. 

checkValidBeanLifecycleSignature

public static boolean checkValidBeanLifecycleSignature(Method method)
Deprecated. 
EJB3 12.4 Lifecycle methods may throw runtime exceptions, but not application exceptions. Note that for 2.1 beans CreateException (on ejbCreate) and RemoteException should pass.

Parameters:
method -
Returns:

simpleType

public static String simpleType(Class type)
Deprecated. 


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.