jrunx.ri
Class EJBContainerFactory
jrunx.kernel.ServiceAdapter
|
+--jrun.j2ee.J2EEModuleFactory
|
+--jrun.ejb.EJBContainerFactory
|
+--jrunx.ri.EJBContainerFactory
- All Implemented Interfaces:
- Constants, EJBContainerFactoryMBean, EJBContainerFactoryMBean, J2EEModuleFactoryMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean
- Direct Known Subclasses:
- EJBContainerFactory1_2
- public class EJBContainerFactory
- extends EJBContainerFactory
- implements Constants, EJBContainerFactoryMBean
- 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 |
| Fields inherited from interface jrunx.persistence.Constants |
CMP20_STORE_MANAGER, CREATE_SQL, CREATE_TABLE_SQL, DEFAULT_CACHE_SIZE, DELETE_TABLE_SQL, FILE_NAME, FILE_STORE, FIND_BY_PRIMARY_KEY_SQL, JDBC_STORE, LOAD_SQL, REMOVE_SQL, STORE_SQL, TEMP_DIRECTORY |
|
Method Summary |
java.util.Collection |
create(java.net.URL url,
java.lang.String deploymentOrigin,
java.lang.String ejbModuleName,
ServicePartition parentService,
java.net.URL altDDURL)
This method is used by the EnterpriseApplicationFactory. |
java.net.URL |
getResource(java.net.URL url,
java.lang.String fingerPrint)
Subclasses should implement this method to provide additional
logic for finding resources. |
| Methods inherited from class jrun.j2ee.J2EEModuleFactory |
addMandatoryFingerPrint, addOptionalFingerPrint, addPotentialFingerPrint, cacheResource, cacheResources, clearResources, createXMLReader, getMandatoryFingerPrintList, getOptionalFingerPrintList, getPotentialFingerPrintList, 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, create, getMandatoryFingerPrintList, getPotentialFingerPrintList, 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 |
EJBContainerFactory
public EJBContainerFactory()
create
public java.util.Collection create(java.net.URL url,
java.lang.String deploymentOrigin,
java.lang.String ejbModuleName,
ServicePartition parentService,
java.net.URL altDDURL)
throws DeploymentException
- Description copied from interface:
EJBContainerFactoryMBean
- This method is used by the EnterpriseApplicationFactory.
- Specified by:
create in interface EJBContainerFactoryMBean- Overrides:
create in class EJBContainerFactory
- Following copied from class:
jrun.ejb.EJBContainerFactory
- 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.ejbModuleName - The EJB 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 EJB
containers will reside within.altDDURL - The optional URL for the post assembly deployment descriptor file.
getResource
public java.net.URL getResource(java.net.URL url,
java.lang.String fingerPrint)
- Description copied from class:
J2EEModuleFactory
- Subclasses should implement this method to provide additional
logic for finding resources. For example looking in the parent
directory of the URL.
- Specified by:
getResource in interface J2EEModuleFactoryMBean- Overrides:
getResource in class J2EEModuleFactory
Copyright � 2002 Macromedia Corporation. All Rights Reserved.