|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JOnAS EAR Service interface. This interface provides a description of an EAR service.
Method Summary | |
java.lang.String |
deployEar(javax.naming.Context ctx)
Deploy an EAR file with sending JAR file to the EJB container and WAR file to the WEB container. |
java.lang.String |
deployEar(java.lang.String fileName)
Deploy an EAR, used by management applications via J2EEServer managed object |
java.lang.String |
getAppsDirectory()
Return the Apps directory. |
java.lang.Boolean |
isEarDeployed(java.lang.String fileName)
Test if the specified filename is already deployed or not. |
boolean |
isEarDeployedByUnpackName(java.lang.String unpackName)
Test if the specified unpack name is already deployed or not. |
void |
unDeployEar(javax.naming.Context ctx)
Undeploy an EAR by sending the request to the EJB container and to the WEB container. |
void |
unDeployEar(java.lang.String fileName)
Undeploy an EAR, used by management applications via J2EEServer managed object |
Methods inherited from interface org.objectweb.jonas.service.Service |
getName, init, isStarted, setName, start, stop |
Method Detail |
public java.lang.String deployEar(javax.naming.Context ctx) throws EarServiceException
ctx
- the context which contains the configuration in order to
deploy an EAR.
EarServiceException
- if the deployment of the EAR failed.public void unDeployEar(javax.naming.Context ctx) throws EarServiceException
ctx
- the context which contains the configuration in order to
undeploy an EAR.
EarServiceException
- if the undeployment of the EAR failed.public java.lang.String deployEar(java.lang.String fileName) throws java.lang.Exception
fileName
- the fileName of the ear which must be be deployed.
java.lang.Exception
- if the deployment of the EAR failed.public java.lang.Boolean isEarDeployed(java.lang.String fileName)
fileName
- the name of the ear file.
public boolean isEarDeployedByUnpackName(java.lang.String unpackName)
unpackName
- the name of the ear file.
public void unDeployEar(java.lang.String fileName) throws java.lang.Exception
fileName
- the fileName of the ear which must be be undeployed.
java.lang.Exception
- if the undeployment of the EAR failed.public java.lang.String getAppsDirectory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |