| org.objectweb.jonas.adm.AdmInterface
All known Subclasses: org.objectweb.jonas.adm.Adm,
AdmInterface | public interface AdmInterface extends Remote(Code) | | |
Method Summary | |
void | addBeans(String fileName) | public void | addEar(String fileName) Deploy a given ear file with the help of the ear service. | public void | addRar(String fileName) Deploy a given rar file with the help of the resource service. | public void | addWar(String fileName) Deploy a given war file with the help of the web container service. | String | deployFile(int type, byte[] file, String filename) Deploy file (GenIC), needed for Ishmael to work.
Parameters: type - type of the file (EJB, WAR, EAR, RAR, CAR) Parameters: file - the actual file Parameters: filename - basename of the file to be deployed throws: RemoteException - throws: EarServiceException - throws: ResourceServiceException - throws: JWebContainerServiceException - author: Dean Jennings. | void | deployFileOn(String filename, String[] target) | String | dumpCustom() | int | getServerState() | String | getTopicLevel(String topic) | String[] | getTopics() | boolean | isEJBContainer() | boolean | isEarLoaded(String fileName) Test if the specified filename is already deployed or not
Parameters: fileName - the name of the ear file. | boolean | isLoaded(String fileName) | boolean | isRarLoaded(String fileName) Test if the specified filename is already deployed or not
Parameters: fileName - the name of the rar file. | boolean | isWarLoaded(String fileName) Test if the specified filename is already deployed or not
Parameters: fileName - the name of the war file. | void | killServer() | String[] | listBeans() | Vector | listContext() | Properties | listEnv() | List | listModules(int type, int state) List modules, needed for Ishmael to work. | void | removeBeans(String fileName) | public void | removeEar(String fileName) UnDeploy a given ear file with the help of the ear service. | public void | removeRar(String fileName) UnDeploy a given rar file with the help of the resource service. | public 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) | public void | undeployFile(String filename) Physically remove the module from the server
Parameters: filename - the filename of the module to be removed throws: RemoteException - author: Dean Jennings. |
STATUS_ALL | final public static int STATUS_ALL(Code) | | |
STATUS_RUNNING | final public static int STATUS_RUNNING(Code) | | |
STATUS_STOPPED | final public static int STATUS_STOPPED(Code) | | |
TYPE_CAR | final public static int TYPE_CAR(Code) | | |
TYPE_EAR | final public static int TYPE_EAR(Code) | | |
TYPE_EJB | final public static int TYPE_EJB(Code) | | |
TYPE_RAR | final public static int TYPE_RAR(Code) | | |
TYPE_WAR | final public static int TYPE_WAR(Code) | | |
deployFile | String deployFile(int type, byte[] file, String filename) throws RemoteException, EarServiceException, ResourceServiceException, JWebContainerServiceException(Code) | | Deploy file (GenIC), needed for Ishmael to work.
Parameters: type - type of the file (EJB, WAR, EAR, RAR, CAR) Parameters: file - the actual file Parameters: filename - basename of the file to be deployed throws: RemoteException - throws: EarServiceException - throws: ResourceServiceException - throws: JWebContainerServiceException - author: Dean Jennings. |
listModules | List listModules(int type, int state) throws RemoteException(Code) | | List modules, needed for Ishmael to work. Currently only lists top
level modules. It does need to do sub elements of ears in the future.
Parameters: type - type of the file (EJB, WAR, EAR, RAR, CAR) Parameters: state - status of the modules to be returned(RUNNING, STOPPED, ALL) throws: RemoteException - author: Dean Jennings. |
undeployFile | public void undeployFile(String filename) throws RemoteException(Code) | | Physically remove the module from the server
Parameters: filename - the filename of the module to be removed throws: RemoteException - author: Dean Jennings. |
|
|