|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDeploymentSpecific
Interface that all implementation needs to implement
| Method Summary | |
|---|---|
void |
deployApplication(java.util.Properties p)
deploy application p |
java.lang.String |
deployFile(javax.enterprise.deploy.shared.ModuleType type,
byte[] file,
java.lang.String name,
java.lang.String[] genicArgs)
deploy the file on the server : call genic to generate class for JOnAS and copy the result file into JOnAS server directory for deployment |
java.util.List |
listModules(javax.enterprise.deploy.shared.ModuleType type,
int state)
List modules type in a given state |
java.lang.String |
sendFile(byte[] file,
java.lang.String name)
distribute (send) the file on the server and copy the result file into JOnAS server directory for deployment |
void |
stopApplication(java.util.Properties p)
Stop application p |
void |
undeployApplication(java.util.Properties p)
Undeploy application p |
| Method Detail |
|---|
java.util.List listModules(javax.enterprise.deploy.shared.ModuleType type,
int state)
throws DeploymentException
state - STATUS_RUNNING = 1, STATUS_STOPPED = 2, STATUS_ALL = 0type - TYPE_JAR = 1, TYPE_WAR = 2, TYPE_EAR = 3, TYPE_RAR = 4 public
final int TYPE_CAR = 5;
DeploymentException
java.lang.String deployFile(javax.enterprise.deploy.shared.ModuleType type,
byte[] file,
java.lang.String name,
java.lang.String[] genicArgs)
throws DeploymentException
type - file - name -
DeploymentException
java.lang.String sendFile(byte[] file,
java.lang.String name)
throws DeploymentException
type - of the archivefile - Byte Array representing the file to uploadname - name of the file
DeploymentException
void deployApplication(java.util.Properties p)
throws DeploymentException
p -
DeploymentException
void stopApplication(java.util.Properties p)
throws DeploymentException
p -
DeploymentException
void undeployApplication(java.util.Properties p)
throws DeploymentException
p -
DeploymentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||