jrunx.kernel
Class DeploymentService
jrunx.kernel.ServiceAdapter
|
+--jrunx.kernel.DeploymentService
- All Implemented Interfaces:
- DeploymentServiceMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean
- Direct Known Subclasses:
- JRunServiceDeployer
- public abstract class DeploymentService
- extends ServiceAdapter
- implements DeploymentServiceMBean
- Author:
- PS Neville, Karl Moss
- 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 |
|
Method Summary |
abstract void |
deployServices(java.util.Vector elementTree)
|
java.net.URL |
getURL()
URL location to watch for descriptors |
void |
loadServices()
Load services based on the URL or file descriptor. |
protected java.util.Vector |
parseDescriptorURL()
Parses an XML descriptor at the URL into
DocumentElements. |
void |
setURL(java.net.URL url)
|
void |
start()
Every service other than mere data collections should start |
| Methods inherited from class jrunx.kernel.ServiceAdapter |
bind, destroy, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, init, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, stop, 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 |
DeploymentService
public DeploymentService()
getURL
public java.net.URL getURL()
- Description copied from interface:
DeploymentServiceMBean
- URL location to watch for descriptors
- Specified by:
getURL in interface DeploymentServiceMBean
setURL
public void setURL(java.net.URL url)
- Specified by:
setURL in interface DeploymentServiceMBean
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 ServiceAdapter
loadServices
public void loadServices()
throws java.lang.Exception
- Description copied from interface:
DeploymentServiceMBean
- Load services based on the URL or file descriptor.
- Specified by:
loadServices in interface DeploymentServiceMBean
deployServices
public abstract void deployServices(java.util.Vector elementTree)
throws java.lang.Exception
parseDescriptorURL
protected java.util.Vector parseDescriptorURL()
throws java.lang.Exception
- Parses an XML descriptor at the URL into
DocumentElements.
Copyright � 2002 Macromedia Corporation. All Rights Reserved.