jrunx.service
Class ServiceFactory
jrunx.kernel.ServiceAdapter
|
+--jrun.j2ee.J2EEModuleFactory
|
+--jrunx.service.ServiceFactory
- All Implemented Interfaces:
- J2EEModuleFactoryMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceFactoryMBean, ServiceMBean
- public class ServiceFactory
- extends J2EEModuleFactory
- implements ServiceFactoryMBean
- Author:
- 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 |
|
Method Summary |
java.util.Collection |
create(java.net.URL url,
java.lang.String deploymentOrigin,
java.lang.String serviceModuleName)
This method is used by the DeployerService. |
java.util.Collection |
create(java.net.URL url,
java.lang.String deploymentOrigin,
java.lang.String serviceModuleName,
ServicePartition parentService)
This method is used by the EnterpriseApplicationFactory. |
java.lang.String |
getObjectName()
|
| Methods inherited from class jrun.j2ee.J2EEModuleFactory |
addMandatoryFingerPrint, addOptionalFingerPrint, addPotentialFingerPrint, cacheResource, cacheResources, clearResources, createXMLReader, getMandatoryFingerPrintList, getOptionalFingerPrintList, getPotentialFingerPrintList, getResource, getResource, getResources, getTemporaryDirectory, isPersistXML, isValidateXML, matchesFingerPrints, register, setMandatoryFingerPrint, setOptionalFingerPrint, setPersistXML, setPotentialFingerPrint, setTemporaryDirectory, setValidateXML |
| 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, start, stop, toString, unbind, unscheduleRunnable, updateStatus |
| Methods inherited from interface jrun.j2ee.J2EEModuleFactoryMBean |
addMandatoryFingerPrint, addPotentialFingerPrint, clearResources, getMandatoryFingerPrintList, getPotentialFingerPrintList, getResource, getResources, getTemporaryDirectory, isPersistXML, isValidateXML, setMandatoryFingerPrint, setPersistXML, setPotentialFingerPrint, setTemporaryDirectory, setValidateXML |
| Methods inherited from interface jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
ServiceFactory
public ServiceFactory()
create
public java.util.Collection create(java.net.URL url,
java.lang.String deploymentOrigin,
java.lang.String serviceModuleName)
throws DeploymentException
- This method is used by the DeployerService.
- Specified by:
create in interface J2EEModuleFactoryMBean- Overrides:
create in class J2EEModuleFactory
- Parameters:
url - The URL pointing to the local open directory or service jar.deploymentOrigin - The original URL passed into the DeployerService.
It differs from the url parameter if the URL was remote.serviceModuleName - The service module name. For open directories, this will be
the directory name. For jar files, this will be the jar
file name.
create
public java.util.Collection create(java.net.URL url,
java.lang.String deploymentOrigin,
java.lang.String serviceModuleName,
ServicePartition parentService)
throws DeploymentException
- This method is used by the EnterpriseApplicationFactory.
- Specified by:
create in interface ServiceFactoryMBean
- Parameters:
url - The URL pointing to the local open directory or EJB jar.deploymentOrigin - The original URL passed into the DeployerService.
It differs from the url parameter if the URL was remote.serviceModuleName - The service module name. For open directories, this will be
the directory name. For jar files, this will be the jar
file name.parentService - This is the Enterprise Application service that service
containers will reside within.
getObjectName
public java.lang.String getObjectName()
- Overrides:
getObjectName in class J2EEModuleFactory
Copyright � 2002 Macromedia Corporation. All Rights Reserved.