|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdmInterface
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 |
---|
static final int TYPE_EJB
static final int TYPE_WAR
static final int TYPE_EAR
static final int TYPE_RAR
static final int TYPE_CAR
static final int STATUS_RUNNING
static final int STATUS_STOPPED
static final int STATUS_ALL
Method Detail |
---|
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.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.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.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.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.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.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
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
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
void addBeans(java.lang.String fileName) throws java.rmi.RemoteException
java.rmi.RemoteException
void removeBeans(java.lang.String fileName) throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isLoaded(java.lang.String fileName) throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String[] listBeans() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String dumpCustom() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Vector listContext() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.Properties listEnv() throws java.rmi.RemoteException
java.rmi.RemoteException
void stopServer() throws java.rmi.RemoteException
java.rmi.RemoteException
void killServer() throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isEJBContainer() throws java.rmi.RemoteException
java.rmi.RemoteException
int getServerState() throws java.rmi.RemoteException
java.rmi.RemoteException
void setTransactionTimeout(int timeout) throws java.rmi.RemoteException
java.rmi.RemoteException
void runGC() throws java.rmi.RemoteException
java.rmi.RemoteException
void syncAllEntities(boolean passivate) throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String[] getTopics() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getTopicLevel(java.lang.String topic) throws java.rmi.RemoteException
java.rmi.RemoteException
void setTopicLevel(java.lang.String topic, java.lang.String l) throws java.rmi.RemoteException
java.rmi.RemoteException
void deployFileOn(java.lang.String filename, java.lang.String[] target) throws java.rmi.RemoteException
java.rmi.RemoteException
void stopRemoteServers(java.lang.String[] target) throws java.rmi.RemoteException
java.rmi.RemoteException
void startRemoteServers(java.lang.String[] target) throws java.rmi.RemoteException
java.rmi.RemoteException
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
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
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 |