org.objectweb.jonas.adm
Interface AdmInterface
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- Adm
- public interface AdmInterface
- extends java.rmi.Remote
addEar
public void addEar(java.lang.String fileName)
throws java.rmi.RemoteException,
EarServiceException
- Deploy a given ear file with the help of the ear service.
- Parameters:
fileName
- the name of the ear file.- Throws:
java.rmi.RemoteException
- if rmi call failed.EarServiceException
- if the deployment failed.
addWar
public void addWar(java.lang.String fileName)
throws java.rmi.RemoteException,
org.objectweb.jonas.web.JWebContainerServiceException
- Deploy a given war file with the help of the web container service.
- Parameters:
fileName
- the name of the war file.- Throws:
java.rmi.RemoteException
- if rmi call failed.org.objectweb.jonas.web.JWebContainerServiceException
- if the deployment failed.
removeEar
public void removeEar(java.lang.String fileName)
throws java.rmi.RemoteException,
EarServiceException
- UnDeploy a given ear file with the help of the ear service.
- Parameters:
fileName
- the name of the ear file.- Throws:
java.rmi.RemoteException
- if rmi call failed.EarServiceException
- if the undeployment failed.
removeWar
public void removeWar(java.lang.String fileName)
throws java.rmi.RemoteException,
org.objectweb.jonas.web.JWebContainerServiceException
- UnDeploy a given war file with the help of the web container service.
- Parameters:
fileName
- the name of the war file.- Throws:
java.rmi.RemoteException
- if rmi call failed.org.objectweb.jonas.web.JWebContainerServiceException
- if the undeployment failed.
addBeans
public void addBeans(java.lang.String fileName)
throws java.rmi.RemoteException
removeBeans
public void removeBeans(java.lang.String fileName)
throws java.rmi.RemoteException
isLoaded
public boolean isLoaded(java.lang.String fileName)
throws java.rmi.RemoteException
listBeans
public java.lang.String[] listBeans()
throws java.rmi.RemoteException
listContext
public java.util.Vector listContext()
throws java.rmi.RemoteException
listEnv
public java.util.Properties listEnv()
throws java.rmi.RemoteException
stopServer
public void stopServer()
throws java.rmi.RemoteException
killServer
public void killServer()
throws java.rmi.RemoteException
isEJBContainer
public boolean isEJBContainer()
throws java.rmi.RemoteException
getServerState
public int getServerState()
throws java.rmi.RemoteException
setTransactionTimeout
public void setTransactionTimeout(int timeout)
throws java.rmi.RemoteException
runGC
public void runGC()
throws java.rmi.RemoteException
syncAllEntities
public void syncAllEntities(boolean passivate)
throws java.rmi.RemoteException
getTopics
public java.lang.String[] getTopics()
throws java.rmi.RemoteException
getTopicLevel
public java.lang.String getTopicLevel(java.lang.String topic)
throws java.rmi.RemoteException
setTopicLevel
public void setTopicLevel(java.lang.String topic,
java.lang.String l)
throws java.rmi.RemoteException