org.jboss.ejb3.stateless
Class StatelessContainer

java.lang.Object
  extended by org.jboss.aop.Advisor
      extended by org.jboss.aop.ClassContainer
          extended by org.jboss.ejb3.EJBContainer
              extended by org.jboss.ejb3.SessionContainer
                  extended by org.jboss.ejb3.stateless.StatelessContainer
All Implemented Interfaces:
org.jboss.ejb.txtimer.TimedObjectInvoker, Container

public class StatelessContainer
extends SessionContainer
implements org.jboss.ejb.txtimer.TimedObjectInvoker

Comment

Version:
$Revision: 1.6.2.5 $
Author:
Bill Burke

Field Summary
protected  javax.ejb.TimerService timerService
           
 
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
StatelessContainer(ClassLoader cl, String beanClassName, String ejbName, org.jboss.aop.AspectManager manager, Hashtable ctxProperties)
           
 
Method Summary
 void callTimeout(javax.ejb.Timer timer)
           
 org.jboss.aop.joinpoint.InvocationResponse dynamicInvoke(Object target, org.jboss.aop.joinpoint.Invocation invocation)
           
 javax.ejb.TimerService getTimerService()
           
protected  Object invokeEJBObjectMethod(org.jboss.aop.MethodInfo info, org.jboss.aop.joinpoint.MethodInvocation invocation)
           
protected  Object invokeHomeMethod(org.jboss.aop.MethodInfo info, org.jboss.aop.joinpoint.MethodInvocation invocation)
           
 Object localInvoke(Method method, Object[] args)
          Performs a synchronous local invocation
 Object localInvoke(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.ejb3.EJBContainer
addEnvEntry, construct, create, createCallbackHandler, createEnvEntries, destroy, getBeanClass, getBeanClassName, getEjbLinkResolver, getEjbName, getEnc, getEnvEntryValue, getHandledCallbacks, getInitialContext, getInitialContextProperties, getManagedEntityManagerFactory, getObjectName, getPool, initializePool, invokeInit, invokeInit, invokePostActivate, invokePostConstruct, invokePreDestroy, invokePrePassivate, resolveInjectors, setEjbLinkResolver, setManagedEntityManagerFactory
 
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

timerService

protected javax.ejb.TimerService timerService
Constructor Detail

StatelessContainer

public StatelessContainer(ClassLoader cl,
                          String beanClassName,
                          String ejbName,
                          org.jboss.aop.AspectManager manager,
                          Hashtable ctxProperties)
Method Detail

start

public void start()
           throws Exception
Specified by:
start in interface Container
Overrides:
start in class SessionContainer
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface Container
Overrides:
stop in class SessionContainer
Throws:
Exception

getTimerService

public javax.ejb.TimerService getTimerService()
Specified by:
getTimerService in interface Container

callTimeout

public void callTimeout(javax.ejb.Timer timer)
                 throws Exception
Specified by:
callTimeout in interface org.jboss.ejb.txtimer.TimedObjectInvoker
Throws:
Exception

localInvoke

public Object localInvoke(Method method,
                          Object[] args)
                   throws Throwable
Performs a synchronous local invocation

Throws:
Throwable

localInvoke

public Object localInvoke(Method method,
                          Object[] args,
                          org.jboss.aspects.asynch.FutureHolder provider)
                   throws Throwable
Performs a synchronous or asynchronous local invocation

Parameters:
provider - If null a synchronous invocation, otherwise an asynchronous
Throws:
Throwable

dynamicInvoke

public org.jboss.aop.joinpoint.InvocationResponse dynamicInvoke(Object target,
                                                                org.jboss.aop.joinpoint.Invocation invocation)
                                                         throws Throwable
Overrides:
dynamicInvoke in class org.jboss.aop.Advisor
Throws:
Throwable

invokeEJBObjectMethod

protected Object invokeEJBObjectMethod(org.jboss.aop.MethodInfo info,
                                       org.jboss.aop.joinpoint.MethodInvocation invocation)
                                throws Throwable
Throws:
Throwable

invokeHomeMethod

protected Object invokeHomeMethod(org.jboss.aop.MethodInfo info,
                                  org.jboss.aop.joinpoint.MethodInvocation invocation)
                           throws Throwable
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.