Package org.opencms.rmi
Class CmsRemoteShellProvider
- java.lang.Object
-
- org.opencms.rmi.CmsRemoteShellProvider
-
- All Implemented Interfaces:
java.rmi.Remote
,I_CmsRemoteShellProvider
public class CmsRemoteShellProvider extends java.lang.Object implements I_CmsRemoteShellProvider
Remote object responsible for creating new remote shell instances.
-
-
Constructor Summary
Constructors Constructor Description CmsRemoteShellProvider(int port)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description I_CmsRemoteShell
createShell(java.lang.String additionalCommandsName)
Creates a new shell instance with the given additional commands class.
-
-
-
Constructor Detail
-
CmsRemoteShellProvider
public CmsRemoteShellProvider(int port)
Creates a new instance.- Parameters:
port
- the port to use for created CmsRemoteShell instances
-
-
Method Detail
-
createShell
public I_CmsRemoteShell createShell(java.lang.String additionalCommandsName) throws java.rmi.RemoteException
Description copied from interface:I_CmsRemoteShellProvider
Creates a new shell instance with the given additional commands class.- Specified by:
createShell
in interfaceI_CmsRemoteShellProvider
- Parameters:
additionalCommandsName
- the name of the additional commands class- Returns:
- the new shell instance
- Throws:
java.rmi.RemoteException
- if RMI stuff goes wrong- See Also:
I_CmsRemoteShellProvider.createShell(java.lang.String)
-
-