|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int |
STATUS_ALL
|
static int |
STATUS_RUNNING
|
static int |
STATUS_STOPPED
|
static int |
TYPE_CAR
|
static int |
TYPE_EAR
|
static int |
TYPE_EJB
|
static int |
TYPE_RAR
|
static int |
TYPE_WAR
|
Method Summary | |
void |
addBeans(java.lang.String fileName)
|
void |
addEar(java.lang.String fileName)
Deploy a given ear file with the help of the ear service. |
void |
addRar(java.lang.String fileName)
Deploy a given rar file with the help of the resource service. |
void |
addWar(java.lang.String fileName)
Deploy a given war file with the help of the web container service. |
java.lang.String |
deployFile(int type,
byte[] file,
java.lang.String filename)
Deploy file (GenIC), needed for Ishmael to work. |
void |
deployFileOn(java.lang.String filename,
java.lang.String[] target)
|
java.lang.String |
dumpCustom()
|
int |
getServerState()
|
java.lang.String |
getTopicLevel(java.lang.String topic)
|
java.lang.String[] |
getTopics()
|
boolean |
isEarLoaded(java.lang.String fileName)
Test if the specified filename is already deployed or not |
boolean |
isEJBContainer()
|
boolean |
isLoaded(java.lang.String fileName)
|
boolean |
isRarLoaded(java.lang.String fileName)
Test if the specified filename is already deployed or not |
boolean |
isWarLoaded(java.lang.String fileName)
Test if the specified filename is already deployed or not |
void |
killServer()
|
java.lang.String[] |
listBeans()
|
java.util.Vector |
listContext()
|
java.util.Properties |
listEnv()
|
java.util.List |
listModules(int type,
int state)
List modules, needed for Ishmael to work. |
void |
removeBeans(java.lang.String fileName)
|
void |
removeEar(java.lang.String fileName)
UnDeploy a given ear file with the help of the ear service. |
void |
removeRar(java.lang.String fileName)
UnDeploy a given rar file with the help of the resource service. |
void |
removeWar(java.lang.String fileName)
UnDeploy a given war file with the help of the web container service. |
void |
runGC()
|
void |
setTopicLevel(java.lang.String topic,
java.lang.String l)
|
void |
setTransactionTimeout(int timeout)
|
void |
startRemoteServers(java.lang.String[] target)
|
void |
stopRemoteServers(java.lang.String[] target)
|
void |
stopServer()
|
void |
syncAllEntities(boolean passivate)
|
void |
undeployFile(java.lang.String filename)
Physically remove the module from the server |
Field Detail |
public static final int TYPE_EJB
public static final int TYPE_WAR
public static final int TYPE_EAR
public static final int TYPE_RAR
public static final int TYPE_CAR
public static final int STATUS_RUNNING
public static final int STATUS_STOPPED
public static final int STATUS_ALL
Method Detail |
public void addEar(java.lang.String fileName) throws java.rmi.RemoteException, EarServiceException
fileName
- the name of the ear file.
java.rmi.RemoteException
- if rmi call failed.
EarServiceException
- if the deployment failed.public void addRar(java.lang.String fileName) throws java.rmi.RemoteException, ResourceServiceException
fileName
- the name of the rar file.
java.rmi.RemoteException
- if rmi call failed.
ResourceServiceException
- if the deployment failed.public void addWar(java.lang.String fileName) throws java.rmi.RemoteException, JWebContainerServiceException
fileName
- the name of the war file.
java.rmi.RemoteException
- if rmi call failed.
JWebContainerServiceException
- if the deployment failed.public void removeEar(java.lang.String fileName) throws java.rmi.RemoteException, EarServiceException
fileName
- the name of the ear file.
java.rmi.RemoteException
- if rmi call failed.
EarServiceException
- if the undeployment failed.public void removeRar(java.lang.String fileName) throws java.rmi.RemoteException, ResourceServiceException
fileName
- the name of the rar file.
java.rmi.RemoteException
- if rmi call failed.
ResourceServiceException
- if the undeployment failed.public void removeWar(java.lang.String fileName) throws java.rmi.RemoteException, JWebContainerServiceException
fileName
- the name of the war file.
java.rmi.RemoteException
- if rmi call failed.
JWebContainerServiceException
- if the undeployment failed.public boolean isEarLoaded(java.lang.String fileName) throws java.rmi.RemoteException, EarServiceException
fileName
- the name of the ear file.
java.rmi.RemoteException
- if rmi call failed.
EarServiceException
public boolean isRarLoaded(java.lang.String fileName) throws java.rmi.RemoteException, ResourceServiceException
fileName
- the name of the rar file.
java.rmi.RemoteException
- if rmi call failed.
ResourceServiceException
public boolean isWarLoaded(java.lang.String fileName) throws java.rmi.RemoteException, JWebContainerServiceException
fileName
- the name of the war file.
java.rmi.RemoteException
- if rmi call failed.
JWebContainerServiceException
public void addBeans(java.lang.String fileName) throws java.rmi.RemoteException
java.rmi.RemoteException
public void removeBeans(java.lang.String fileName) throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean isLoaded(java.lang.String fileName) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String[] listBeans() throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String dumpCustom() throws java.rmi.RemoteException
java.rmi.RemoteException
public java.util.Vector listContext() throws java.rmi.RemoteException
java.rmi.RemoteException
public java.util.Properties listEnv() throws java.rmi.RemoteException
java.rmi.RemoteException
public void stopServer() throws java.rmi.RemoteException
java.rmi.RemoteException
public void killServer() throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean isEJBContainer() throws java.rmi.RemoteException
java.rmi.RemoteException
public int getServerState() throws java.rmi.RemoteException
java.rmi.RemoteException
public void setTransactionTimeout(int timeout) throws java.rmi.RemoteException
java.rmi.RemoteException
public void runGC() throws java.rmi.RemoteException
java.rmi.RemoteException
public void syncAllEntities(boolean passivate) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String[] getTopics() throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String getTopicLevel(java.lang.String topic) throws java.rmi.RemoteException
java.rmi.RemoteException
public void setTopicLevel(java.lang.String topic, java.lang.String l) throws java.rmi.RemoteException
java.rmi.RemoteException
public void deployFileOn(java.lang.String filename, java.lang.String[] target) throws java.rmi.RemoteException
java.rmi.RemoteException
public void stopRemoteServers(java.lang.String[] target) throws java.rmi.RemoteException
java.rmi.RemoteException
public void startRemoteServers(java.lang.String[] target) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String deployFile(int type, byte[] file, java.lang.String filename) throws java.rmi.RemoteException, EarServiceException, ResourceServiceException, JWebContainerServiceException
type
- type of the file (EJB, WAR, EAR, RAR, CAR)file
- the actual filefilename
- basename of the file to be deployed
java.rmi.RemoteException
EarServiceException
ResourceServiceException
JWebContainerServiceException
public java.util.List listModules(int type, int state) throws java.rmi.RemoteException
type
- type of the file (EJB, WAR, EAR, RAR, CAR)state
- status of the modules to be returned
(RUNNING, STOPPED, ALL)
java.rmi.RemoteException
public void undeployFile(java.lang.String filename) throws java.rmi.RemoteException
filename
- the filename of the module to be removed
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |