|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.ishmael.deploy.spi.impl.AbsDeploymentSpecific
public abstract class AbsDeploymentSpecific
Abstract class for specific deployment.
| Field Summary |
|---|
| Fields inherited from interface org.ow2.ishmael.deploy.spi.impl.IDeploymentSpecific |
|---|
AVAILABLE, RUNNING |
| Constructor Summary | |
|---|---|
AbsDeploymentSpecific(java.lang.String uri)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addAvailable(java.lang.String module)
|
void |
addRunning(java.lang.String module)
|
protected void |
deploy(java.util.Properties info)
|
void |
deployApplication(java.util.Properties p)
deploy application p |
protected javax.enterprise.deploy.shared.ModuleType |
findType(java.lang.String path)
|
java.util.List |
getDeployedModules(javax.enterprise.deploy.shared.ModuleType type)
get deployed modules |
protected javax.management.MBeanServerConnection |
getMBeanServerConnection()
|
java.util.HashMap<java.lang.Integer,java.util.List<java.lang.String>> |
getModuleList(java.lang.String module)
|
protected javax.management.ObjectName |
getObjectName()
|
protected abstract java.lang.String |
getStringObjectName()
|
boolean |
isDeployedApplication(java.util.Properties p)
|
java.util.List<java.lang.String> |
listModules(javax.enterprise.deploy.shared.ModuleType type,
int state)
List modules type in a given state |
void |
removeModule(java.lang.String module)
|
void |
removeRunning(java.lang.String module)
|
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 |
protected void |
stop(java.lang.String file)
|
void |
stopApplication(java.util.Properties p)
Stop application p |
void |
undeployApplication(java.util.Properties p)
Undeploy application p |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbsDeploymentSpecific(java.lang.String uri)
throws IshmaelDeploymentManagerCreationException
uri - URI given by deployment tool
IshmaelDeploymentManagerCreationException| Method Detail |
|---|
protected javax.management.ObjectName getObjectName()
protected javax.management.MBeanServerConnection getMBeanServerConnection()
protected abstract java.lang.String getStringObjectName()
public java.util.List<java.lang.String> listModules(javax.enterprise.deploy.shared.ModuleType type,
int state)
throws DeploymentException
listModules in interface IDeploymentSpecificstate - of the module RUNNING or AVAILABLEtype - J2EE module types
Attention on ne sait toujours pas differentier l'etat Running/Stopping.
Lorsqu'une application est deployee , elle est automatiquement starter.
DeploymentException
public java.util.List getDeployedModules(javax.enterprise.deploy.shared.ModuleType type)
throws DeploymentException
getDeployedModules in interface IDeploymentSpecificJ2EE - module types
DeploymentException
public void deployApplication(java.util.Properties p)
throws DeploymentException
deployApplication in interface IDeploymentSpecificp -
DeploymentException
public void undeployApplication(java.util.Properties p)
throws DeploymentException
undeployApplication in interface IDeploymentSpecificp -
DeploymentException
public void stopApplication(java.util.Properties p)
throws DeploymentException
stopApplication in interface IDeploymentSpecificp -
DeploymentException
public boolean isDeployedApplication(java.util.Properties p)
throws DeploymentException
p -
DeploymentExceptionpublic void addAvailable(java.lang.String module)
public void addRunning(java.lang.String module)
public void removeRunning(java.lang.String module)
public void removeModule(java.lang.String module)
public java.util.HashMap<java.lang.Integer,java.util.List<java.lang.String>> getModuleList(java.lang.String module)
public java.lang.String sendFile(byte[] file,
java.lang.String name)
throws DeploymentException
sendFile in interface IDeploymentSpecificfile - Byte Array representing the file to uploadname - name of the file
DeploymentException
protected void deploy(java.util.Properties info)
throws DeploymentException
info - property name file indicate the path and name ear file to
deploy
DeploymentException
protected void stop(java.lang.String file)
throws DeploymentException
p - String name file to undeploy
DeploymentException
protected javax.enterprise.deploy.shared.ModuleType findType(java.lang.String path)
throws DeploymentException
DeploymentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||