Inheritance diagram for org.objectweb.jonas.ear.EarServiceImpl:
Public Member Functions | |
String | deployEar (Context ctx) throws EarServiceException |
String | deployEar (String fileName) throws Exception |
String | deployEarMBean (String fileName) throws Exception |
void | unDeployEar (Context ctx) throws EarServiceException |
void | unDeployEar (String fileName) throws Exception |
void | unDeployEarMBean (String fileName) throws Exception |
Integer | getCurrentNumberOfEars () |
List | getInstalledEars () throws Exception |
Set | getEarNames () |
boolean | isEarLoaded (String fileName) |
Boolean | isEarDeployed (String fileName) |
boolean | isEarDeployedByUnpackName (String unpackName) |
List | getDeployedEars () |
List | getDeployableEars () throws Exception |
List | getAutoloadDirectories () |
String | getAppsDirectory () |
Static Public Member Functions | |
String | buildJ2eeApplicationName (URL pUrl) |
String | buildJ2eeApplicationName (String pFilename) |
Protected Member Functions | |
void | doInit (Context ctx) throws ServiceException |
void | doStop () throws ServiceException |
void | doStart () throws ServiceException |
Static Protected Attributes | |
final String | JONAS_BASE = JProp.getJonasBase() |
final String | APPS_DIR = JONAS_BASE + File.separator + "apps" |
final String | WORK_DIR = JProp.getWorkDir() |
final String | WORK_APPS_DIR = WORK_DIR + File.separator + "apps" |
final String | DESCRIPTORS = "jonas.service.ear.descriptors" |
final String | AUTOLOADDIR = "jonas.service.ear.autoloaddir" |
final String | PARSINGWITHVALIDATION = "jonas.service.ear.parsingwithvalidation" |
final String | CLASS = "jonas.service.ear.class" |
Ludovic Bert Contributor(s): Adriana Danes: highlight configuration properties Eric Hardesty: added ability to include rar files in an ear Michel-Ange Anton : new JSR77 MBean
Definition at line 119 of file EarServiceImpl.java.
|
Build the J2EEApplication name.
Definition at line 1669 of file EarServiceImpl.java. References org.objectweb.jonas.ear.Ear.getName(). |
Here is the call graph for this function:
|
Build the J2EEApplication name.
Definition at line 1649 of file EarServiceImpl.java. References org.objectweb.jonas.ear.Ear.getName(). Referenced by org.objectweb.jonas.ear.EarServiceImpl.deployEar(). |
Here is the call graph for this function:
|
Deploy an ear with its given fileName
Implements org.objectweb.jonas.ear.EarService. Definition at line 1124 of file EarServiceImpl.java. References org.objectweb.jonas.ear.EarServiceImpl.deployEarMBean(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Deploy an EAR by delegating the operation to the deployEar() method. This is used by jonasAdmin management application.
Implements org.objectweb.jonas.ear.EarServiceImplMBean. Definition at line 1136 of file EarServiceImpl.java. References org.objectweb.jonas.ear.EarServiceImpl.deployEar(). Referenced by org.objectweb.jonas.ear.EarServiceImpl.deployEar(). |
Here is the call graph for this function:
|
Init the EAR service.
Definition at line 227 of file EarServiceImpl.java. References org.objectweb.jonas.ear.EarServiceImpl.APPS_DIR, org.objectweb.jonas.ear.EarServiceImpl.AUTOLOADDIR, org.objectweb.jonas.ear.EarServiceImpl.DESCRIPTORS, org.objectweb.jonas.server.LoaderManager.getAppsLoader(), org.objectweb.jonas.service.ServiceManager.getEjbService(), org.objectweb.jonas.service.ServiceManager.getInstance(), org.objectweb.jonas.service.ServiceManager.getJmxService(), org.objectweb.jonas.service.ServiceManager.getResourceService(), org.objectweb.jonas.service.ServiceManager.getWebContainerService(), org.objectweb.jonas.service.ServiceManager.getWebServicesService(), and org.objectweb.jonas.ear.EarServiceImpl.PARSINGWITHVALIDATION. |
Here is the call graph for this function:
|
Start the EAR service.
Definition at line 1160 of file EarServiceImpl.java. References org.objectweb.jonas.ear.EarServiceImpl.deployEar(), and org.objectweb.jonas.ear.EarServiceImpl.WORK_APPS_DIR. |
Here is the call graph for this function:
|
Stop the EAR service.
Definition at line 374 of file EarServiceImpl.java. References org.objectweb.jonas.ear.EarServiceImpl.unDeployEar(). |
Here is the call graph for this function:
|
Return the Apps directory.
Implements org.objectweb.jonas.ear.EarService. Definition at line 1634 of file EarServiceImpl.java. References org.objectweb.jonas.ear.EarServiceImpl.APPS_DIR. |
|
Return the list of "autoload" directories for applications.
Implements org.objectweb.jonas.ear.EarServiceImplMBean. Definition at line 1616 of file EarServiceImpl.java. |
|
Implements org.objectweb.jonas.ear.EarServiceImplMBean. Definition at line 1405 of file EarServiceImpl.java. |
|
Return the list of installed Applications ready to deploy.
Implements org.objectweb.jonas.ear.EarServiceImplMBean. Definition at line 1606 of file EarServiceImpl.java. References org.objectweb.jonas.ear.EarServiceImpl.getDeployedEars(), and org.objectweb.jonas.ear.EarServiceImpl.getInstalledEars(). |
Here is the call graph for this function:
|
Return the list of all loaded Applications.
Implements org.objectweb.jonas.ear.EarServiceImplMBean. Definition at line 1589 of file EarServiceImpl.java. References org.objectweb.jonas.ear.Ear.getEarUrl(). Referenced by org.objectweb.jonas.ear.EarServiceImpl.getDeployableEars(). |
Here is the call graph for this function:
|
This method is added temporarily. It will disapear when Ears will have their associated MBeans (when Ears will become manageable)
Implements org.objectweb.jonas.ear.EarServiceImplMBean. Definition at line 1436 of file EarServiceImpl.java. |
|
Return the list of installed Applications. The EAR files or the directories with expanded Applications are searched in JONAS_BASE/apps and all Applications directories 'autoload'.
Implements org.objectweb.jonas.ear.EarServiceImplMBean. Definition at line 1417 of file EarServiceImpl.java. References org.objectweb.jonas.ear.EarServiceImpl.APPS_DIR. Referenced by org.objectweb.jonas.ear.EarServiceImpl.getDeployableEars(). |
|
Test if the specified filename is already deployed or not. This method is defined in the EarService interface.
Implements org.objectweb.jonas.ear.EarService. Definition at line 1554 of file EarServiceImpl.java. References org.objectweb.jonas.ear.EarServiceImpl.isEarLoaded(). |
Here is the call graph for this function:
|
Test if the specified unpack name is already deployed or not. This method is defined in the EarService interface.
Implements org.objectweb.jonas.ear.EarService. Definition at line 1564 of file EarServiceImpl.java. References org.objectweb.jonas.ear.Ear.getName(), and org.objectweb.jonas.ear.Ear.getUnpackName(). |
Here is the call graph for this function:
|
Test if the specified filename is already deployed or not. This method is a management method provided by the EarServerice MBean.
Implements org.objectweb.jonas.ear.EarServiceImplMBean. Definition at line 1513 of file EarServiceImpl.java. References org.objectweb.jonas.ear.EarServiceImpl.APPS_DIR. Referenced by org.objectweb.jonas.ear.EarServiceImpl.isEarDeployed(). |
|
Undeploy an EAR by delegating the operation to the unDeployEar() method. This is used for JMX management.
Implements org.objectweb.jonas.ear.EarService. Definition at line 1319 of file EarServiceImpl.java. References org.objectweb.jonas.ear.EarServiceImpl.unDeployEarMBean(). |
Here is the call graph for this function:
|
Undeploy an EAR by sending the request to the EJB container and to the WEB container and the Resource service.
Implements org.objectweb.jonas.ear.EarService. Definition at line 1239 of file EarServiceImpl.java. References org.objectweb.jonas.ear.Ear.getEjbJars(), org.objectweb.jonas.ear.Ear.getRars(), and org.objectweb.jonas.ear.Ear.getWars(). Referenced by org.objectweb.jonas.ear.EarServiceImpl.doStop(), and org.objectweb.jonas.ear.EarServiceImpl.unDeployEarMBean(). |
Here is the call graph for this function:
|
Undeploy an EAR by delegating the operation to the unDeployEar() method. This is used for JMX management.
Implements org.objectweb.jonas.ear.EarServiceImplMBean. Definition at line 1329 of file EarServiceImpl.java. References org.objectweb.jonas.ear.EarServiceImpl.APPS_DIR, and org.objectweb.jonas.ear.EarServiceImpl.unDeployEar(). Referenced by org.objectweb.jonas.ear.EarServiceImpl.unDeployEar(). |
Here is the call graph for this function:
|
The name of the apps directory. Definition at line 129 of file EarServiceImpl.java. Referenced by org.objectweb.jonas.ear.EarServiceImpl.deployEar(), org.objectweb.jonas.ear.EarServiceImpl.doInit(), org.objectweb.jonas.ear.EarServiceImpl.getAppsDirectory(), org.objectweb.jonas.ear.EarServiceImpl.getInstalledEars(), org.objectweb.jonas.ear.EarServiceImpl.isEarLoaded(), and org.objectweb.jonas.ear.EarServiceImpl.unDeployEarMBean(). |
|
Directories property for autoload Definition at line 149 of file EarServiceImpl.java. Referenced by org.objectweb.jonas.ear.EarServiceImpl.doInit(). |
|
Property for the class of the EAR service Definition at line 159 of file EarServiceImpl.java. |
|
Property for ear to deploy at runtime Definition at line 144 of file EarServiceImpl.java. Referenced by org.objectweb.jonas.ear.EarServiceImpl.doInit(). |
|
The name of the JONAS_BASE directory. Definition at line 124 of file EarServiceImpl.java. |
|
Property for parsing with validation or not Definition at line 154 of file EarServiceImpl.java. Referenced by org.objectweb.jonas.ear.EarServiceImpl.doInit(). |
|
The name of the working apps directory. Definition at line 139 of file EarServiceImpl.java. Referenced by org.objectweb.jonas.ear.EarServiceImpl.deployEar(), and org.objectweb.jonas.ear.EarServiceImpl.doStart(). |
|
The name of the working directory. Definition at line 134 of file EarServiceImpl.java. |