|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdmInterface
Field Summary | |
---|---|
static String |
ADMNAME_SUFFIX
Adm JNDI name suffix. |
static int |
NOT_READY
JOnAS instance is NotReady. |
static int |
READY
JOnAS instance is Ready. |
static int |
STATUS_ALL
|
static int |
STATUS_RUNNING
|
static int |
STATUS_STOPPED
|
static int |
STOPPED
JOnAS instance is 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(String fileName)
|
void |
addEar(String fileName)
Deploy a given ear file with the help of the ear service. |
void |
addRar(String fileName)
Deploy a given rar file with the help of the resource service. |
void |
addWar(String fileName)
Deploy a given war file with the help of the web container service. |
void |
deployFileOn(String filename,
String[] target)
|
String |
dumpCustom()
|
int |
getServerState()
|
String |
getTopicLevel(String topic)
|
String[] |
getTopics()
|
boolean |
isEarLoaded(String fileName)
Test if the specified filename is already deployed or not |
boolean |
isEJBContainer()
|
boolean |
isLoaded(String fileName)
|
boolean |
isRarLoaded(String fileName)
Test if the specified filename is already deployed or not |
boolean |
isWarLoaded(String fileName)
Test if the specified filename is already deployed or not |
void |
killServer()
|
String[] |
listBeans()
|
Vector |
listContext()
|
Properties |
listEnv()
|
void |
removeBeans(String fileName)
|
void |
removeEar(String fileName)
UnDeploy a given ear file with the help of the ear service. |
void |
removeRar(String fileName)
UnDeploy a given rar file with the help of the resource service. |
void |
removeWar(String fileName)
UnDeploy a given war file with the help of the web container service. |
void |
runGC()
|
void |
setTopicLevel(String topic,
String l)
|
void |
setTransactionTimeout(int timeout)
|
void |
startRemoteServers(String[] target)
|
void |
stopRemoteServers(String[] target)
|
void |
stopServer()
|
void |
syncAllEntities(boolean passivate)
|
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
static final String ADMNAME_SUFFIX
static final int NOT_READY
static final int READY
static final int STOPPED
Method Detail |
---|
void addEar(String fileName) throws RemoteException, AdmException
fileName
- the name of the ear file.
RemoteException
- if rmi call failed.
AdmException
- if the deployment failed.void addRar(String fileName) throws RemoteException, AdmException
fileName
- the name of the rar file.
RemoteException
- if rmi call failed.
AdmException
- if the deployment failed.void addWar(String fileName) throws RemoteException, AdmException
fileName
- the name of the war file.
RemoteException
- if rmi call failed.
AdmException
- if the deployment failed.void removeEar(String fileName) throws RemoteException, AdmException
fileName
- the name of the ear file.
RemoteException
- if rmi call failed.
AdmException
- if the undeployment failed.void removeRar(String fileName) throws RemoteException, AdmException
fileName
- the name of the rar file.
RemoteException
- if rmi call failed.
AdmException
- if the undeployment failed.void removeWar(String fileName) throws RemoteException, AdmException
fileName
- the name of the war file.
RemoteException
- if rmi call failed.
AdmException
- if the undeployment failed.boolean isEarLoaded(String fileName) throws RemoteException, AdmException
fileName
- the name of the ear file.
RemoteException
- if rmi call failed.
AdmException
boolean isRarLoaded(String fileName) throws RemoteException, AdmException
fileName
- the name of the rar file.
RemoteException
- if rmi call failed.
AdmException
boolean isWarLoaded(String fileName) throws RemoteException, AdmException
fileName
- the name of the war file.
RemoteException
- if rmi call failed.
AdmException
void addBeans(String fileName) throws RemoteException
RemoteException
void removeBeans(String fileName) throws RemoteException
RemoteException
boolean isLoaded(String fileName) throws RemoteException
RemoteException
String[] listBeans() throws RemoteException
RemoteException
String dumpCustom() throws RemoteException
RemoteException
Vector listContext() throws RemoteException
RemoteException
Properties listEnv() throws RemoteException
RemoteException
void stopServer() throws RemoteException
RemoteException
void killServer() throws RemoteException
RemoteException
boolean isEJBContainer() throws RemoteException
RemoteException
int getServerState() throws RemoteException
RemoteException
void setTransactionTimeout(int timeout) throws RemoteException
RemoteException
void runGC() throws RemoteException
RemoteException
void syncAllEntities(boolean passivate) throws RemoteException
RemoteException
String[] getTopics() throws RemoteException
RemoteException
String getTopicLevel(String topic) throws RemoteException
RemoteException
void setTopicLevel(String topic, String l) throws RemoteException
RemoteException
void deployFileOn(String filename, String[] target) throws RemoteException
RemoteException
void stopRemoteServers(String[] target) throws RemoteException
RemoteException
void startRemoteServers(String[] target) throws RemoteException
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |