|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EarService
JOnAS EAR Service interface. This interface provides a description of an EAR service.
Method Summary | |
---|---|
String |
deployEar(Context ctx)
Deploy an EAR file with sending JAR file to the EJB container and WAR file to the WEB container. |
String |
deployEar(String fileName)
Deploy an EAR, used by management applications via J2EEServer managed object. |
Boolean |
isEarDeployed(String fileName)
Test if the specified filename is already deployed or not. |
boolean |
isEarDeployedByUnpackName(String unpackName)
Test if the specified unpack name is already deployed or not. |
void |
unDeployEar(Context ctx)
Undeploy an EAR by sending the request to the EJB container and to the WEB container. |
void |
unDeployEar(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 |
---|
String deployEar(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.void unDeployEar(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.String deployEar(String fileName) throws Exception
fileName
- the fileName of the ear which must be be deployed.
Exception
- if the deployment of the EAR failed.Boolean isEarDeployed(String fileName)
fileName
- the name of the ear file.
boolean isEarDeployedByUnpackName(String unpackName)
unpackName
- the name of the ear file.
void unDeployEar(String fileName) throws Exception
fileName
- the fileName of the ear which must be be undeployed.
Exception
- if the undeployment of the EAR failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |