jrun.ejb
Class Container
jrunx.kernel.ServiceAdapter
|
+--jrunx.kernel.ServicePartition
|
+--jrunx.kernel.ConfigurableServicePartition
|
+--jrun.j2ee.J2EEModule
|
+--jrun.ejb.Container
- All Implemented Interfaces:
- ConfigurableServicePartitionMBean, ContainerMBean, J2EEModuleMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean
- Direct Known Subclasses:
- EJBContainer
- public abstract class Container
- extends J2EEModule
- implements ContainerMBean
A Container is a ServicePartition that holds
interceptors.
- Author:
- PS Neville
- See Also:
EJBContainer, Serialized Form
| Fields inherited from class jrunx.kernel.ServiceAdapter |
DEFAULT_DEACTIVATED, DEFAULT_DOMAIN, DOMAIN_NAME_SEPARATOR, DOMAIN_NAME_SUFFIX, domainName, jndiBindable, LOGGER_CACHE_TIME, SCHEDULER_SERVICE, SECURITY_MANAGER, server, status, TRANSACTION_MANAGER |
| Methods inherited from class jrun.j2ee.J2EEModule |
getClassLoader, getDeploymentOrigin, getEJBPeers, getJ2EEMetaData, isRunning, postStart, resolveEJBLinks, setClassLoader, setDeploymentOrigin, setEJBPeers, setJ2EEMetaData, setName, setRunning |
| Methods inherited from class jrunx.kernel.ConfigurableServicePartition |
destroy, destroyServices, init, initServices, loadAndInit, loadChildren, setChildElements, start, startServices, stop, stopServices |
| Methods inherited from class jrunx.kernel.ServiceAdapter |
bind, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, toString, unbind, unscheduleRunnable, updateStatus |
| Methods inherited from interface jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
classLoader
protected CompositeClassLoaderChild classLoader
- Each Container has its own ClassLoader.
firstInterceptor
protected Interceptor firstInterceptor
- The initial object in the Container's linked list of
Interceptors.
Container
public Container()
addInterceptor
public void addInterceptor(java.lang.String interceptorClass)
throws java.lang.Exception
- Specified by:
addInterceptor in interface ContainerMBean
getFirstInterceptorClass
public java.lang.String getFirstInterceptorClass()
- Specified by:
getFirstInterceptorClass in interface ContainerMBean
addInterceptor
public void addInterceptor(Interceptor interceptor)
- Add an Interceptor to the LinkedList of Interceptors.
removeInterceptor
public void removeInterceptor(Interceptor interceptor)
getFirstInterceptor
public Interceptor getFirstInterceptor()
- Retrieve the first Interceptor.
Copyright � 2002 Macromedia Corporation. All Rights Reserved.