|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.rmi.server.RemoteObject | +--java.rmi.server.RemoteServer | +--java.rmi.server.UnicastRemoteObject | +--org.objectweb.common.RemoteObject | +--org.objectweb.jonas.adm.Adm
This class implements a remote interface used for administering the server.
Field Summary | |
static java.lang.String |
ADMNAME_SUFFIX
|
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
Adm(JProp jp,
boolean isNotEJB)
Adm constructor |
Method Summary | |
void |
addBeans(java.lang.String fileName)
Create a container and load beans in it |
java.lang.String |
getTopicLevel(java.lang.String topic)
get Topic Level TODO : put part common with JAdmin in Log |
java.lang.String[] |
getTopics()
get Topics. |
boolean |
isLoaded(java.lang.String fileName)
returns true if beans are already loaded in server. |
void |
killServer()
Stop the Server and stop the JVM |
java.lang.String[] |
listBeans()
List beans of all JOnAS containers |
java.util.Vector |
listContext()
List JNDI context |
java.util.Properties |
listEnv()
List Environment |
boolean |
ping()
To test if an Adm is reachable |
void |
removeBeans(java.lang.String fileName)
Remove the container identified by fileName and remove all beans in it |
void |
runGC()
run the garbage collector |
void |
setTopicLevel(java.lang.String topic,
java.lang.String l)
set Topic Level TODO : put part common with JAdmin in Log |
void |
setTransactionTimeout(int timeout)
set the default value for transaction timeout |
void |
stopServer()
Stop the Server without stopping the JVM |
void |
syncAllEntities()
sync all entity instances outside transactions |
Methods inherited from class org.objectweb.common.RemoteObject |
getPort, setPort |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ADMNAME_SUFFIX
Constructor Detail |
public Adm(JProp jp, boolean isNotEJB) throws java.rmi.RemoteException, javax.naming.NamingException, ServiceException
Method Detail |
public java.lang.String[] getTopics() throws java.rmi.RemoteException
getTopics
in interface AdmInterface
public java.lang.String getTopicLevel(java.lang.String topic) throws java.rmi.RemoteException
getTopicLevel
in interface AdmInterface
public void setTopicLevel(java.lang.String topic, java.lang.String l) throws java.rmi.RemoteException
setTopicLevel
in interface AdmInterface
public void addBeans(java.lang.String fileName) throws java.rmi.RemoteException
addBeans
in interface AdmInterface
public void removeBeans(java.lang.String fileName) throws java.rmi.RemoteException
removeBeans
in interface AdmInterface
public boolean isLoaded(java.lang.String fileName) throws java.rmi.RemoteException
isLoaded
in interface AdmInterface
public java.lang.String[] listBeans() throws java.rmi.RemoteException
listBeans
in interface AdmInterface
public java.util.Vector listContext() throws java.rmi.RemoteException
listContext
in interface AdmInterface
public java.util.Properties listEnv()
listEnv
in interface AdmInterface
public void stopServer() throws java.rmi.RemoteException
stopServer
in interface AdmInterface
public void killServer() throws java.rmi.RemoteException
killServer
in interface AdmInterface
public boolean ping() throws java.rmi.RemoteException
ping
in interface AdmInterface
public void setTransactionTimeout(int timeout) throws java.rmi.RemoteException
setTransactionTimeout
in interface AdmInterface
public void runGC() throws java.rmi.RemoteException
runGC
in interface AdmInterface
public void syncAllEntities() throws java.rmi.RemoteException
syncAllEntities
in interface AdmInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |