|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb3.BaseContext<T>
public abstract class BaseContext<T extends Container>
Comment
Field Summary | |
---|---|
protected Object |
bean
|
protected T |
container
|
protected Map<Class<?>,Object> |
interceptorInstances
|
protected static org.jboss.logging.Logger |
log
|
protected org.jboss.aop.metadata.SimpleMetaData |
metadata
|
protected org.jboss.security.RealmMapping |
rm
|
Constructor Summary | |
---|---|
protected |
BaseContext()
Deprecated. |
protected |
BaseContext(T container)
Use with extreme caution, must not break getInstance post condition. |
protected |
BaseContext(T container,
Object bean)
|
Method Summary | |
---|---|
T |
getContainer()
|
Object |
getId()
|
Object |
getInstance()
Returns the enterprise bean, never returns null. |
Object |
getInterceptor(Class<?> interceptorClass)
|
Object[] |
getInterceptorInstances(InterceptorInfo[] interceptorInfos)
Deprecated. |
Object |
getInvokedMethodKey()
|
org.jboss.aop.metadata.SimpleMetaData |
getMetaData()
|
void |
initialiseInterceptorInstances()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.ejb3.BeanContext |
---|
getEJBContext, remove |
Field Detail |
---|
protected static org.jboss.logging.Logger log
protected T extends Container container
protected Object bean
protected org.jboss.security.RealmMapping rm
protected org.jboss.aop.metadata.SimpleMetaData metadata
protected Map<Class<?>,Object> interceptorInstances
Constructor Detail |
---|
protected BaseContext(T container)
container
- protected BaseContext(T container, Object bean)
protected BaseContext()
Method Detail |
---|
public Object getId()
public Object getInstance()
getInstance
in interface org.jboss.ejb3.interceptors.container.BeanContext<Object>
public T getContainer()
public org.jboss.aop.metadata.SimpleMetaData getMetaData()
public void initialiseInterceptorInstances()
@Deprecated public Object[] getInterceptorInstances(InterceptorInfo[] interceptorInfos)
public Object getInvokedMethodKey()
public Object getInterceptor(Class<?> interceptorClass) throws IllegalArgumentException
getInterceptor
in interface org.jboss.ejb3.interceptors.container.BeanContext<Object>
IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |