|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.ourgrid.common.rmi.OurgridUnicastRemoteObject
org.ourgrid.gridmachine.useragent.ui.UserAgentUIManager
public class UserAgentUIManager
Main class to UserAgent initialization. Any UI call is made at this class so the interface logic is done only at this point.
Field Summary | |
---|---|
static java.lang.String |
START
Start argument. |
static java.lang.String |
STATUS
Status argument. |
static java.lang.String |
STOP
Stop argument. |
static java.lang.String[] |
VALID_ARGS
Array with valid arguments. |
Fields inherited from class java.rmi.server.RemoteObject |
---|
ref |
Method Summary | |
---|---|
static UIManager |
getInstance()
|
boolean |
isUserAgentUp()
Verify if UserAgent is running. |
void |
startUserAgentService()
Starts UserAgent Service |
GumStatus |
statusUserAgentService()
Gets the UserAgent status. |
void |
stopUserAgentService()
Stops UserAgent Service |
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 START
public static final java.lang.String STOP
public static final java.lang.String STATUS
public static final java.lang.String[] VALID_ARGS
Method Detail |
---|
public static UIManager getInstance() throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean isUserAgentUp()
public void startUserAgentService() throws java.rmi.RemoteException, java.net.MalformedURLException, java.lang.InterruptedException, UserAgentUIException, ConfigException
UIManager
startUserAgentService
in interface UIManager
ConfigException
java.rmi.RemoteException
- Thrown if occurs any RMI problem.
java.net.MalformedURLException
- Thrown if the bind address is malformed.
java.lang.InterruptedException
- Thrown if the hold thread dies.
UserAgentUIException
- Thrown if the Gum is already started.UIManager.startUserAgentService()
public void stopUserAgentService() throws java.rmi.RemoteException, UserAgentUIException, java.net.MalformedURLException, java.rmi.NotBoundException
UIManager
stopUserAgentService
in interface UIManager
java.rmi.RemoteException
- Thrown if occurs any RMI problem
UserAgentUIException
- Thrown if the Gum is already stopped.
java.net.MalformedURLException
- Thrown if the Gum address is malformed.
java.rmi.NotBoundException
- Thrown if the Gum is not bounded at a registry.UIManager.stopUserAgentService()
public GumStatus statusUserAgentService() throws java.rmi.RemoteException
UIManager
statusUserAgentService
in interface UIManager
java.rmi.RemoteException
- Thrown if occurs any RMI problemUIManager.statusUserAgentService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |