public class CmsRemoteShellServer extends java.lang.Object
| Constructor and Description |
|---|
CmsRemoteShellServer(int port)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static CmsRemoteShellServer |
initialize(CmsSystemConfiguration systemConfiguration)
Initializes the remote shell server.
|
void |
initServer()
Initializes the RMI registry and exports the remote shell provider to it.
|
void |
shutDown()
Unregisters remote objects.
|
public CmsRemoteShellServer(int port)
port - the port for the RMI registrypublic static CmsRemoteShellServer initialize(CmsSystemConfiguration systemConfiguration)
systemConfiguration - the OpenCms system configuration read from opencms-system.xmlnull if the server is disabledpublic void initServer()
public void shutDown() throws java.lang.Exception
java.lang.Exception - in case shutting down the RMI threads failed