| |
|
| org.jboss.ejb.Container org.jboss.ejb.SessionContainer
All known Subclasses: org.jboss.ejb.StatefulSessionContainer, org.jboss.ejb.StatelessSessionContainer,
SessionContainer | abstract public class SessionContainer extends Container (Code) | |
Container dedicated to session beans. Contains factored out
redundancies between stateless and stateful treatments, because
(extending the spec) we would like to also support stateful
web services.
author: Christoph G. Jung version: $Revision: 57209 $ since: 30.10.2003 |
beanMapping | protected Map beanMapping(Code) | | These are the mappings between the remote interface methods and the
bean methods.
|
homeMapping | protected Map homeMapping(Code) | | These are the mappings between the home interface methods and the
container methods.
|
instancePool | protected InstancePool instancePool(Code) | | This is the instancepool that is to be used
|
interceptor | protected Interceptor interceptor(Code) | | This is the first interceptor in the chain. The last interceptor must
be provided by the container itself
|
serviceEndpoint | protected Class serviceEndpoint(Code) | | this is the service endpoint class
|
addInterceptor | public void addInterceptor(Interceptor in)(Code) | | add an additional interceptor to the chain
|
createInstanceCache | protected void createInstanceCache() throws Exception(Code) | | no instance cache per default
|
createInstancePool | protected void createInstancePool() throws Exception(Code) | | creates a new instance pool
|
createInterceptors | protected void createInterceptors() throws Exception(Code) | | Initialize the interceptors by calling the chain
|
createInvokers | protected void createInvokers() throws Exception(Code) | | creates the invokers
|
createPersistenceManager | protected void createPersistenceManager() throws Exception(Code) | | no persistence manager per default
|
destroyInstanceCache | protected void destroyInstanceCache()(Code) | | |
destroyInstancePool | protected void destroyInstancePool()(Code) | | |
destroyInterceptors | protected void destroyInterceptors()(Code) | | |
destroyInvokers | protected void destroyInvokers()(Code) | | |
destroyMarshalledInvocationMapping | protected void destroyMarshalledInvocationMapping()(Code) | | |
destroyPersistenceManager | protected void destroyPersistenceManager()(Code) | | |
getBeanMapping | protected Map getBeanMapping()(Code) | | needed for sub-inner-class access (old jdk compiler bug)
|
getHandle | public Handle getHandle(Invocation mi) throws RemoteException(Code) | | While the following methods are implemented in the client in the case
of JRMP we would need to implement them to fully support other transport
protocols
Always null |
getHomeMapping | protected Map getHomeMapping()(Code) | | needed for sub-inner-class access (old jdk compiler bug)
|
getServiceEndpoint | public Class getServiceEndpoint()(Code) | | return service endpoint
|
internalInvoke | public Object internalInvoke(Invocation mi) throws Exception(Code) | | This method does invocation interpositioning of tx and security,
retrieves the instance from an object table, and invokes the method
on the particular instance
|
setupHomeMapping | abstract protected void setupHomeMapping() throws Exception(Code) | | how home methods are treated by container
|
setupMarshalledInvocationMapping | protected void setupMarshalledInvocationMapping() throws Exception(Code) | | sets up marshalled invocation mappings
throws: Exception - |
startInstanceCache | protected void startInstanceCache() throws Exception(Code) | | no instance cache per default
|
startInstancePool | protected void startInstancePool() throws Exception(Code) | | Start pool
|
startInterceptors | protected void startInterceptors() throws Exception(Code) | | Start all interceptors in the chain *
|
startInvokers | protected void startInvokers() throws Exception(Code) | | Start container invokers
|
startPersistenceManager | protected void startPersistenceManager() throws Exception(Code) | | no persistence manager per default
|
stopInstanceCache | protected void stopInstanceCache()(Code) | | no instance cache
|
stopInstancePool | protected void stopInstancePool()(Code) | | Stop pool
|
stopInterceptors | protected void stopInterceptors()(Code) | | Stop all interceptors in the chain
|
stopInvokers | protected void stopInvokers()(Code) | | Stop container invoker
|
stopPersistenceManager | protected void stopPersistenceManager()(Code) | | no persistence
|
|
|
|