jrun.ea
Class EnterpriseApplication
jrunx.kernel.ServiceAdapter
|
+--jrunx.kernel.ServicePartition
|
+--jrunx.kernel.ConfigurableServicePartition
|
+--jrun.j2ee.J2EEModule
|
+--jrun.ea.EnterpriseApplication
- All Implemented Interfaces:
- ConfigurableServicePartitionMBean, EnterpriseApplicationMBean, J2EEModuleMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean
- public class EnterpriseApplication
- extends J2EEModule
- implements EnterpriseApplicationMBean
An EnterpriseApplication represents a J2EE .ear file structure.
The EnterpriseApplication remembers the J2EE modules it has created
and can invoke global methods on them.
- Author:
- Nick Tsivranidis, Paul Reilly
- See Also:
- 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.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 |
OBJECT_NAME
public static final java.lang.String OBJECT_NAME
applicationMetaData
protected ApplicationMetaData applicationMetaData
EnterpriseApplication
public EnterpriseApplication()
addModule
public void addModule(J2EEModule j2eeModule)
addModules
public void addModules(java.util.Collection j2eeModules)
destroy
public void destroy()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Every service is eventually destroyed. Convenience implementation.
- Specified by:
destroy in interface Service- Overrides:
destroy in class ConfigurableServicePartition
setApplicationMetaData
public void setApplicationMetaData(ApplicationMetaData applicationMetaData)
getAppClients
public java.util.ArrayList getAppClients()
- Specified by:
getAppClients in interface EnterpriseApplicationMBean
getEJBs
public java.util.ArrayList getEJBs()
- Specified by:
getEJBs in interface EnterpriseApplicationMBean
getEJBModules
public java.util.List getEJBModules()
getModules
public java.util.Iterator getModules()
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface EnterpriseApplicationMBean
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface EnterpriseApplicationMBean
getRARs
public java.util.ArrayList getRARs()
- Specified by:
getRARs in interface EnterpriseApplicationMBean
getWARs
public java.util.ArrayList getWARs()
- Specified by:
getWARs in interface EnterpriseApplicationMBean
init
public void init()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Not every service needs to init, implement it out of convenience.
- Specified by:
init in interface Service- Overrides:
init in class ConfigurableServicePartition
start
public void start()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Every service other than mere data collections should start
- Specified by:
start in interface Service- Overrides:
start in class ConfigurableServicePartition
stop
public void stop()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Every service other than mere data collections should stop
- Specified by:
stop in interface Service- Overrides:
stop in class ConfigurableServicePartition
setName
public void setName(java.lang.String displayName,
java.lang.String deploymentOrigin)
Copyright � 2002 Macromedia Corporation. All Rights Reserved.