|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.aop.Advisor
org.jboss.aop.ClassContainer
org.jboss.ejb3.EJBContainer
org.jboss.ejb3.SessionContainer
org.jboss.ejb3.stateful.StatefulContainer
public class StatefulContainer
Comment
Field Summary | |
---|---|
protected StatefulCache |
cache
|
Fields inherited from class org.jboss.ejb3.SessionContainer |
---|
clusterFamilies, proxyDeployer |
Fields inherited from class org.jboss.ejb3.EJBContainer |
---|
beanClassName, beanContextClass, callbackHandler, classloader, defaultConstructorIndex, ejbLinkResolver, ejbName, enc, ENTITY_MANAGER_FACTORY, entityManagerFactory, envEntries, initialContextProperties, injectors, MANAGED_ENTITY_MANAGER_FACTORY, objectName, pool |
Fields inherited from class org.jboss.aop.ClassContainer |
---|
advisedFields |
Fields inherited from class org.jboss.aop.Advisor |
---|
adviceBindings, adviceInterceptors, advisedMethods, annotations, aspects, classAnnotations, classMetaData, classMetaDataBindings, clazz, constructionInterceptors, constructorInterceptors, constructorMetaData, constructors, defaultMetaData, doesHaveAspects, fieldMetaData, interfaceIntroductions, manager, methodInterceptors, methodMetaData, name, perInstanceAspectDefinitions, perInstanceJoinpointAspectDefinitions |
Fields inherited from interface org.jboss.ejb3.Container |
---|
ENC_CTX_NAME |
Constructor Summary | |
---|---|
StatefulContainer(ClassLoader cl,
String beanClassName,
String ejbName,
org.jboss.aop.AspectManager manager,
Hashtable ctxProperties)
|
Method Summary | |
---|---|
Object |
createSession()
Create a stateful bean and return its oid. |
Object |
createSession(Class[] initTypes,
Object[] initValues)
Create a stateful bean and return its oid. |
org.jboss.aop.joinpoint.InvocationResponse |
dynamicInvoke(Object target,
org.jboss.aop.joinpoint.Invocation invocation)
This should be a remote invocation call |
StatefulCache |
getCache()
|
protected Class[] |
getHandledCallbacks()
|
protected Object[] |
getInitParameters(Method method,
Class[] initParameterTypes,
Object[] initParameterValues)
|
javax.ejb.TimerService |
getTimerService()
|
protected org.jboss.aop.joinpoint.InvocationResponse |
invokeEJBObjectMethod(org.jboss.aop.MethodInfo info,
StatefulRemoteInvocation statefulInvocation)
|
protected org.jboss.aop.joinpoint.InvocationResponse |
invokeHandleMethod(org.jboss.aop.MethodInfo info,
StatefulRemoteInvocation statefulInvocation)
|
protected org.jboss.aop.joinpoint.InvocationResponse |
invokeHomeMethod(org.jboss.aop.MethodInfo info,
StatefulRemoteInvocation statefulInvocation)
|
void |
invokeInit(Object bean)
|
void |
invokeInit(Object bean,
Class[] initParameterTypes,
Object[] initParameterValues)
|
void |
invokePostActivate(Object bean)
|
void |
invokePrePassivate(Object bean)
|
Object |
localInvoke(Object id,
Method method,
Object[] args)
Performs a synchronous local invocation |
Object |
localInvoke(Object id,
Method method,
Object[] args,
org.jboss.aspects.asynch.FutureHolder provider)
Performs a synchronous or asynchronous local invocation |
void |
start()
|
void |
stop()
|
Methods inherited from class org.jboss.ejb3.SessionContainer |
---|
createMethodMap, getClusterFamilies, getContainersContext, isEJBObjectMethod, isHandleMethod, isHomeMethod, setDefaultClientBinding |
Methods inherited from class org.jboss.aop.ClassContainer |
---|
addClassMetaData, bindClassMetaData, createConstructorTables, createInterceptorChains, initializeClassContainer, initializeMetadata, initializeMethodChain, rebindClassMetaData, rebuildInterceptors, removeClassMetaData, setClass |
Methods inherited from class org.jboss.aop.Advisor |
---|
addAdviceInterceptor, addInterfaceIntroduction, addPerClassAspect, addPerInstanceAspect, addPerInstanceJoinpointAspect, applyPrecedence, createInterceptorChain, deployAnnotationOverrides, deployMethodAnnotationOverrides, finalizeConstructionChain, finalizeConstructorChain, finalizeMethodChain, getAdviceInterceptor, getAnnotations, getClassMetaData, getClassMetadataBindings, getClazz, getConstructionInterceptors, getConstructorInterceptors, getConstructorMetaData, getConstructors, getDefaultMetaData, getFieldMetaData, getInterfaceIntroductions, getManager, getMethodInfo, getMethodMetaData, getName, getPerClassAspect, getPerClassAspect, getPerInstanceAspectDefinitions, getPerInstanceJoinpointAspectDefinitions, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, hasAspects, initializeConstructionChain, initializeConstructorChain, newBindingAdded, removeAdviceBinding, removeAdviceBindings, removeInterfaceIntroduction, removePerClassAspect, removePerInstanceAspect, removePerInstanceJoinpointAspect, resolveAnnotation, resolveAnnotation, resolveAnnotation, resolveAnnotation, resolveAnnotation, resolveConstructionPointcut, resolveConstructorPointcut, resolveMethodPointcut |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected StatefulCache cache
Constructor Detail |
---|
public StatefulContainer(ClassLoader cl, String beanClassName, String ejbName, org.jboss.aop.AspectManager manager, Hashtable ctxProperties)
Method Detail |
---|
public void start() throws Exception
start
in interface Container
start
in class SessionContainer
Exception
public void stop() throws Exception
stop
in interface Container
stop
in class SessionContainer
Exception
public StatefulCache getCache()
public Object localInvoke(Object id, Method method, Object[] args) throws Throwable
Throwable
public Object localInvoke(Object id, Method method, Object[] args, org.jboss.aspects.asynch.FutureHolder provider) throws Throwable
provider
- If null a synchronous invocation, otherwise an asynchronous
Throwable
public Object createSession()
public Object createSession(Class[] initTypes, Object[] initValues)
public org.jboss.aop.joinpoint.InvocationResponse dynamicInvoke(Object target, org.jboss.aop.joinpoint.Invocation invocation) throws Throwable
dynamicInvoke
in class org.jboss.aop.Advisor
invocation
-
Throwable
public javax.ejb.TimerService getTimerService()
public void invokePostActivate(Object bean)
invokePostActivate
in interface Container
invokePostActivate
in class EJBContainer
public void invokePrePassivate(Object bean)
invokePrePassivate
in interface Container
invokePrePassivate
in class EJBContainer
protected Class[] getHandledCallbacks()
getHandledCallbacks
in class EJBContainer
public void invokeInit(Object bean)
invokeInit
in interface Container
invokeInit
in class EJBContainer
public void invokeInit(Object bean, Class[] initParameterTypes, Object[] initParameterValues)
invokeInit
in interface Container
invokeInit
in class EJBContainer
protected Object[] getInitParameters(Method method, Class[] initParameterTypes, Object[] initParameterValues)
protected org.jboss.aop.joinpoint.InvocationResponse invokeHomeMethod(org.jboss.aop.MethodInfo info, StatefulRemoteInvocation statefulInvocation) throws Throwable
Throwable
protected org.jboss.aop.joinpoint.InvocationResponse invokeHandleMethod(org.jboss.aop.MethodInfo info, StatefulRemoteInvocation statefulInvocation) throws Throwable
Throwable
protected org.jboss.aop.joinpoint.InvocationResponse invokeEJBObjectMethod(org.jboss.aop.MethodInfo info, StatefulRemoteInvocation statefulInvocation) throws Throwable
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |