com.javageeks.gjas
Interface IRemoteServerManager

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RMIServerManagerServer

public interface IRemoteServerManager
extends java.rmi.Remote


Field Summary
static java.lang.String RMI_LOOKUPNAME
           
 
Method Summary
 ConfigProperties getConfigInfo(long ID)
           
 java.lang.String getInstanceID(long ID)
           
 java.lang.Exception getLastError(long ID)
           
 java.lang.String getState(long ID)
           
 void kill(long ID)
           
 boolean pause(long ID)
           
 IServer remoteAddService(Service svc, ConfigProperties args)
           
 IServer remoteAddService(java.lang.String svcName, ConfigProperties args)
           
 void remoteDeployService(java.lang.String serviceName, ClassLoaderStrategy strategy)
           
 void remoteError(java.lang.Exception ex)
           
 void remoteError(java.lang.String msg)
           
 IServer remoteGetService(java.lang.String instanceID)
           
 java.lang.String[] remoteGetServices()
           
 void remoteKillService(java.lang.String instanceID)
           
 IServer remoteLoadService(Service svc)
           
 IServer remoteLoadService(java.lang.String svcName)
           
 void remoteLog(java.lang.Exception ex)
           
 void remoteLog(java.lang.String msg)
           
 void remoteRemoveService(java.lang.String instanceID)
           
 void remoteShutdown()
           
 boolean resume(long ID)
           
 void setConfigInfo(long ID, ConfigProperties info)
           
 boolean start(long ID)
           
 boolean stop(long ID)
           
 

Field Detail

RMI_LOOKUPNAME

public static final java.lang.String RMI_LOOKUPNAME
Method Detail

remoteShutdown

public void remoteShutdown()
                    throws java.rmi.RemoteException

remoteDeployService

public void remoteDeployService(java.lang.String serviceName,
                                ClassLoaderStrategy strategy)
                         throws java.rmi.RemoteException

remoteLoadService

public IServer remoteLoadService(Service svc)
                          throws java.rmi.RemoteException

remoteLoadService

public IServer remoteLoadService(java.lang.String svcName)
                          throws java.rmi.RemoteException

remoteAddService

public IServer remoteAddService(java.lang.String svcName,
                                ConfigProperties args)
                         throws java.rmi.RemoteException

remoteAddService

public IServer remoteAddService(Service svc,
                                ConfigProperties args)
                         throws java.rmi.RemoteException

remoteRemoveService

public void remoteRemoveService(java.lang.String instanceID)
                         throws java.rmi.RemoteException

remoteKillService

public void remoteKillService(java.lang.String instanceID)
                       throws java.rmi.RemoteException

remoteGetServices

public java.lang.String[] remoteGetServices()
                                     throws java.rmi.RemoteException

remoteGetService

public IServer remoteGetService(java.lang.String instanceID)
                         throws java.rmi.RemoteException

remoteLog

public void remoteLog(java.lang.String msg)
               throws java.rmi.RemoteException

remoteLog

public void remoteLog(java.lang.Exception ex)
               throws java.rmi.RemoteException

remoteError

public void remoteError(java.lang.String msg)
                 throws java.rmi.RemoteException

remoteError

public void remoteError(java.lang.Exception ex)
                 throws java.rmi.RemoteException

start

public boolean start(long ID)
              throws java.rmi.RemoteException

stop

public boolean stop(long ID)
             throws java.rmi.RemoteException

pause

public boolean pause(long ID)
              throws java.rmi.RemoteException

resume

public boolean resume(long ID)
               throws java.rmi.RemoteException

kill

public void kill(long ID)
          throws java.rmi.RemoteException

getState

public java.lang.String getState(long ID)
                          throws java.rmi.RemoteException

getInstanceID

public java.lang.String getInstanceID(long ID)
                               throws java.rmi.RemoteException

getLastError

public java.lang.Exception getLastError(long ID)
                                 throws java.rmi.RemoteException

getConfigInfo

public ConfigProperties getConfigInfo(long ID)
                               throws java.rmi.RemoteException

setConfigInfo

public void setConfigInfo(long ID,
                          ConfigProperties info)
                   throws java.rmi.RemoteException