Inheritance diagram for org.objectweb.jonas.container.EJBServiceImpl:
Public Member Functions | |
void | doInit (Context ctx) throws ServiceException |
void | doStart () throws ServiceException |
void | doStop () |
String | createContainer (Context ctx) throws Exception |
Container | getContainer (String fileName) |
void | removeContainer (Container cont) |
Container[] | listContainers () |
void | syncAllEntities (boolean passivate) |
Integer | getCurrentNumberOfContainer () |
Integer | getTotalCurrentNumberOfBeanType () |
Integer | getTotalCurrentNumberOfBMPType () |
Integer | getTotalCurrentNumberOfCMPType () |
Integer | getTotalCurrentNumberOfSBFType () |
Integer | getTotalCurrentNumberOfSBLType () |
Integer | getTotalCurrentNumberOfMDBType () |
void | removeContainerMBean (String fileName) throws Exception |
String | createContainerMBean (String file) throws Exception |
Boolean | isJarDeployed (String fileName) |
boolean | isJarDeployedByWorkName (String workFileName) |
Set | getDataSourceDependence (String dsName) |
Set | getJmsDestinationDependence (String destName) |
Set | getJmsConnectionFactoryDependence (String cfName) |
Set | getMailFactoryDependence (String mfName) |
List | getInstalledJars () throws Exception |
void | deployJars (Context ctx) throws ServiceException |
void | unDeployJars (URL[] urls) |
void | removeContainer (Container cont, boolean isEarCase) |
void | removeCache (ClassLoader earClassLoader) |
boolean | isJarLoaded (String fileName) |
List | getDeployedJars () |
List | getDeployableJars () throws Exception |
List | getAutoloadDirectories () |
String | getEjbjarsDirectory () |
Static Public Member Functions | |
String | buildEJBModuleName (URL pUrl) |
String | buildEJBModuleName (String pFilename) |
Static Public Attributes | |
final String | JONAS_EJB = "jonas.service.ejb" |
final String | AUTOLOADDIR = JONAS_EJB + ".autoloaddir" |
final String | MDBTHREADPOOLSIZE = JONAS_EJB + ".mdbthreadpoolsize" |
final String | MDBMAXTHREADPOOLSIZE = JONAS_EJB + ".mdbmaxthreadpoolsize" |
final String | PARSINGWITHVALIDATION = JONAS_EJB + ".parsingwithvalidation" |
final String | DESCRIPTORS = JONAS_EJB + ".descriptors" |
final String | CLASS = JONAS_EJB + ".class" |
final String | BMP = "Bean-Managed" |
final String | CMP = "Container-Managed" |
Static Protected Attributes | |
final String | JONAS_BASE = JProp.getJonasBase() |
final String | EJBJARS_DIR = JONAS_BASE + File.separator + "ejbjars" |
Package Functions | |
Set | getDependence (String name, int type) |
Jeff Mesnil (Security)
Markus Karg (Novell port)
Christophe Ney (for making easier Enhydra integration)
Adriana Danes (complete management methods)
Florent Benoit & Ludovic Bert (Ear service, deployJars, undeployJars)
Benjamin Bonnet (max thread pool size)
Michel-Ange Anton (JSR77 MBean : EJBModule)
Adriana Danes (JSR77)
Definition at line 122 of file EJBServiceImpl.java.
|
Build the EJBModule name.
Definition at line 1584 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.Container.getName(). |
Here is the call graph for this function:
|
Build the EJBModule name.
Definition at line 1566 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.Container.getName(). Referenced by org.objectweb.jonas.container.EJBServiceImpl.createContainer(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
MBean method allowing to create an EJB container for the EJBs contained in a .jar (or .xml) file.
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1094 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.createContainer(). |
Here is the call graph for this function:
|
Deploy the given ejb-jars of an ear file with the specified parent classloader (ear classloader). (This method is only used for the ear applications, not for the ejb-jar applications).
Implements org.objectweb.jonas.container.EJBService. Definition at line 1322 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.createContainer(), org.objectweb.jonas.container.EJBServiceImpl.getContainer(), and org.objectweb.jonas.container.EJBServiceImpl.removeContainer(). |
Here is the call graph for this function:
|
Init the Service. Configuration information is passed thru a Context object. Definition at line 241 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.AUTOLOADDIR, org.objectweb.jonas.container.EJBServiceImpl.DESCRIPTORS, org.objectweb.jonas.container.EJBServiceImpl.EJBJARS_DIR, org.objectweb.jonas.server.LoaderManager.getAppsLoader(), org.objectweb.jonas.service.ServiceManager.getInstance(), org.objectweb.jonas.jms.JmsService.getJmsManager(), org.objectweb.jonas.service.ServiceManager.getJmsService(), org.objectweb.jonas.jmx.JmxService.getJmxServer(), org.objectweb.jonas.service.ServiceManager.getJmxService(), org.objectweb.jonas.service.ServiceManager.getSecurityService(), org.objectweb.jonas.jtm.TransactionService.getTransactionManager(), org.objectweb.jonas.service.ServiceManager.getTransactionService(), org.objectweb.jonas.container.EJBServiceImpl.MDBMAXTHREADPOOLSIZE, org.objectweb.jonas.container.EJBServiceImpl.MDBTHREADPOOLSIZE, and org.objectweb.jonas.container.EJBServiceImpl.PARSINGWITHVALIDATION. |
Here is the call graph for this function:
|
Start the Service Initialization of the service is already done. Definition at line 389 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.createContainer(). |
Here is the call graph for this function:
|
Stop the service: - Remove all JOnAS Containers. - Unbinds all the EJBHome names from JNDI Definition at line 484 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.removeContainer(). |
Here is the call graph for this function:
|
Return the list of "autoload" directories for EJB containers.
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1535 of file EJBServiceImpl.java. Referenced by org.objectweb.jonas.container.EJBServiceImpl.getContainer(). |
|
Get the Container by its file name (.xml or .jar)
Implements org.objectweb.jonas.container.EJBService. Definition at line 816 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.EJBJARS_DIR, org.objectweb.jonas.container.EJBServiceImpl.getAutoloadDirectories(), and org.objectweb.jonas_ejb.container.Container.getExternalFileName(). Referenced by org.objectweb.jonas.container.EJBServiceImpl.createContainer(), org.objectweb.jonas.container.EJBServiceImpl.deployJars(), org.objectweb.jonas_ejb.container.JTimerHandle.getTimer(), org.objectweb.jonas.container.EJBServiceImpl.isJarLoaded(), org.objectweb.jonas.container.EJBServiceImpl.removeContainerMBean(), and org.objectweb.jonas.container.EJBServiceImpl.unDeployJars(). |
Here is the call graph for this function:
|
MBean method
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 968 of file EJBServiceImpl.java. |
|
MBean method
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1260 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.getDependence(). |
Here is the call graph for this function:
|
This method is used by the getXXXDependence MBean methods. It gathers the ObjectNames of the EJBs using a given resource.
Definition at line 1158 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.JContainer.getDataSourceDependence(), org.objectweb.jonas_ejb.container.JContainer.getJmsConnectionFactoryDependence(), org.objectweb.jonas_ejb.container.JContainer.getJmsDestinationDependence(), and org.objectweb.jonas_ejb.container.JContainer.getMailFactoryDependence(). Referenced by org.objectweb.jonas.container.EJBServiceImpl.getDataSourceDependence(), org.objectweb.jonas.container.EJBServiceImpl.getJmsConnectionFactoryDependence(), org.objectweb.jonas.container.EJBServiceImpl.getJmsDestinationDependence(), and org.objectweb.jonas.container.EJBServiceImpl.getMailFactoryDependence(). |
Here is the call graph for this function:
|
Return the list of installed EJB container ready to deploy.
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1525 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.getDeployedJars(), and org.objectweb.jonas.container.EJBServiceImpl.getInstalledJars(). |
Here is the call graph for this function:
|
Return the list of all loaded EJB container.
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1506 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.Container.getExternalFileName(). Referenced by org.objectweb.jonas.container.EJBServiceImpl.getDeployableJars(). |
Here is the call graph for this function:
|
Return the Ejbjars directory.
Implements org.objectweb.jonas.container.EJBService. Definition at line 1551 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.EJBJARS_DIR. |
|
Return the list of installed EJB containers. The JAR files or the directories with expanded EJB container are searched in JONAS_BASE/ejbjars and all ejbjar directories 'autoload'.
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1296 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.EJBJARS_DIR. Referenced by org.objectweb.jonas.container.EJBServiceImpl.getDeployableJars(). |
|
Management method
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1276 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.getDependence(). |
Here is the call graph for this function:
|
Manangement method
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1268 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.getDependence(). |
Here is the call graph for this function:
|
Management method
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1284 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.getDependence(). |
Here is the call graph for this function:
|
MBean method
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 976 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.JContainer.getBeanNb(). |
Here is the call graph for this function:
|
MBean method
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 990 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.JContainer.getEntityBMPNb(). |
Here is the call graph for this function:
|
MBean method
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1004 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.JContainer.getEntityCMPNb(). |
Here is the call graph for this function:
|
MBean method
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1046 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.JContainer.getMessageDrivenNb(). |
Here is the call graph for this function:
|
MBean method
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1018 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.JContainer.getStatefulSessionNb(). |
Here is the call graph for this function:
|
MBean method
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1032 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.JContainer.getStatelessSessionNb(). |
Here is the call graph for this function:
|
Test if the specified file is already deployed (if a container is created for this jar).
Implements org.objectweb.jonas.container.EJBService. Definition at line 1112 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.isJarLoaded(). |
Here is the call graph for this function:
|
Test if the specified jar identified with its work name is already deployed (if a container is created for this jar).
Implements org.objectweb.jonas.container.EJBService. Definition at line 1122 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.Container.getFileName(), and org.objectweb.jonas_ejb.container.Container.getName(). |
Here is the call graph for this function:
|
Test if the specified filename is already deployed or not
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1498 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.getContainer(). Referenced by org.objectweb.jonas.container.EJBServiceImpl.isJarDeployed(). |
Here is the call graph for this function:
|
List JOnAS container created by EJB Service Implements org.objectweb.jonas.container.EJBService. Definition at line 940 of file EJBServiceImpl.java. |
|
Make a cleanup of the cache of deployment descriptor. This method must be invoked after the ear deployment by the EAR service. the deployment of an ear by .
Implements org.objectweb.jonas.container.EJBService. Definition at line 1429 of file EJBServiceImpl.java. |
|
Remove the specified container.
Definition at line 1412 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.Container.getEarFileName(), org.objectweb.jonas_ejb.container.Container.getName(), and org.objectweb.jonas.container.EJBServiceImpl.removeContainer(). |
Here is the call graph for this function:
|
Remove a JOnAS container Implements org.objectweb.jonas.container.EJBService. Definition at line 892 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.Container.getEarFileName(), org.objectweb.jonas_ejb.container.Container.getName(), and org.objectweb.jonas_ejb.container.Container.remove(). Referenced by org.objectweb.jonas.container.EJBServiceImpl.deployJars(), org.objectweb.jonas.container.EJBServiceImpl.doStop(), org.objectweb.jonas.container.EJBServiceImpl.removeContainer(), org.objectweb.jonas.container.EJBServiceImpl.removeContainerMBean(), and org.objectweb.jonas.container.EJBServiceImpl.unDeployJars(). |
Here is the call graph for this function:
|
MBean method remove a container application
Implements org.objectweb.jonas.container.EJBServiceImplMBean. Definition at line 1064 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.getContainer(), and org.objectweb.jonas.container.EJBServiceImpl.removeContainer(). |
Here is the call graph for this function:
|
Synchronized all entity bean containers
Implements org.objectweb.jonas.container.EJBService. Definition at line 952 of file EJBServiceImpl.java. References org.objectweb.jonas_ejb.container.JContainer.syncAll(). |
Here is the call graph for this function:
|
Undeploy the given ejb-jars of an ear file. (This method is only used for the ear applications, not for the ejb-jar applications).
Implements org.objectweb.jonas.container.EJBService. Definition at line 1394 of file EJBServiceImpl.java. References org.objectweb.jonas.container.EJBServiceImpl.getContainer(), and org.objectweb.jonas.container.EJBServiceImpl.removeContainer(). |
Here is the call graph for this function:
|
autoloaddir property Definition at line 186 of file EJBServiceImpl.java. Referenced by org.objectweb.jonas.container.EJBServiceImpl.doInit(). |
|
BeanManaged Management properties Definition at line 204 of file EJBServiceImpl.java. |
|
EJB service class Definition at line 201 of file EJBServiceImpl.java. |
|
ContainerManaged Management properties Definition at line 207 of file EJBServiceImpl.java. |
|
descriptors property Definition at line 198 of file EJBServiceImpl.java. Referenced by org.objectweb.jonas.container.EJBServiceImpl.doInit(). |
|
The name of the directory containing the ejb-jar files. Definition at line 175 of file EJBServiceImpl.java. Referenced by org.objectweb.jonas.container.EJBServiceImpl.createContainer(), org.objectweb.jonas.container.EJBServiceImpl.doInit(), org.objectweb.jonas.container.EJBServiceImpl.getContainer(), org.objectweb.jonas.container.EJBServiceImpl.getEjbjarsDirectory(), and org.objectweb.jonas.container.EJBServiceImpl.getInstalledJars(). |
|
The name of the JONAS_BASE directory. Definition at line 170 of file EJBServiceImpl.java. |
|
base for properties Definition at line 183 of file EJBServiceImpl.java. |
|
mdb max thread pool size property Definition at line 192 of file EJBServiceImpl.java. Referenced by org.objectweb.jonas.container.EJBServiceImpl.doInit(). |
|
mdb thread pool size property Definition at line 189 of file EJBServiceImpl.java. Referenced by org.objectweb.jonas.container.EJBServiceImpl.doInit(). |
|
parsing with validation property Definition at line 195 of file EJBServiceImpl.java. Referenced by org.objectweb.jonas.container.EJBServiceImpl.doInit(). |