org.jboss.ejb3
Class SessionContainer

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
All Implemented Interfaces:
Container
Direct Known Subclasses:
ServiceContainer, StatefulContainer, StatelessContainer

public abstract class SessionContainer
extends EJBContainer

Comment

Version:
$Revision: 1.12.2.4 $
Author:
Bill Burke

Field Summary
protected  Map clusterFamilies
           
protected  ProxyDeployer 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
SessionContainer(ClassLoader cl, String beanClassName, String ejbName, org.jboss.aop.AspectManager manager, Hashtable ctxProperties)
           
 
Method Summary
protected  void createMethodMap()
           
 Map getClusterFamilies()
           
static Context getContainersContext(Context ctx)
           
protected  boolean isEJBObjectMethod(Method method)
           
protected  boolean isHandleMethod(Method method)
           
protected  boolean isHomeMethod(Method method)
           
 void setDefaultClientBinding(String binding)
           
 void start()
           
 void stop()
           
 
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, dynamicInvoke, 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
 
Methods inherited from interface org.jboss.ejb3.Container
getTimerService
 

Field Detail

proxyDeployer

protected ProxyDeployer proxyDeployer

clusterFamilies

protected Map clusterFamilies
Constructor Detail

SessionContainer

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

setDefaultClientBinding

public void setDefaultClientBinding(String binding)

start

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

getContainersContext

public static Context getContainersContext(Context ctx)
                                    throws NamingException
Throws:
NamingException

getClusterFamilies

public Map getClusterFamilies()

stop

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

createMethodMap

protected void createMethodMap()
Overrides:
createMethodMap in class org.jboss.aop.ClassContainer

isHomeMethod

protected boolean isHomeMethod(Method method)

isEJBObjectMethod

protected boolean isEJBObjectMethod(Method method)

isHandleMethod

protected boolean isHandleMethod(Method method)


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