com.ontimize.dms.server
Class OperationServer
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.ontimize.dms.server.OperationServer
- All Implemented Interfaces:
- IRemoteOperationServer, java.io.Serializable, java.rmi.Remote
public class OperationServer
- extends java.rmi.server.UnicastRemoteObject
- implements IRemoteOperationServer
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
|
Constructor Summary |
OperationServer(int port,
EntityReferenceLocator locator,
java.util.Hashtable properties)
|
| 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 |
eDocuments
protected java.lang.String eDocuments
eProperties
protected java.lang.String eProperties
eVersions
protected java.lang.String eVersions
eLog
protected java.lang.String eLog
entities
protected java.util.Map entities
OperationServer
public OperationServer(int port,
EntityReferenceLocator locator,
java.util.Hashtable properties)
throws java.lang.Exception
- Throws:
java.lang.Exception
init
protected void init(EntityReferenceLocator locator,
java.util.Hashtable properties)
throws java.lang.Exception
- Throws:
java.lang.Exception
createServerClassName
protected java.lang.String createServerClassName(java.util.Map properties)
createServer
protected JcrServer createServer(java.util.Map properties)
Creates the internal JCR server.
- Parameters:
properties -
- Returns:
configureServer
protected void configureServer(JcrServer server,
EntityReferenceLocator locator,
java.util.Map properties)
throws java.lang.Exception
- Throws:
java.lang.Exception
getEntity
public java.lang.String getEntity(java.lang.String key)
throws java.rmi.RemoteException
- Specified by:
getEntity in interface IRemoteOperationServer
- Throws:
java.rmi.RemoteException
doOperation
public java.lang.Object doOperation(int code,
Document[] document,
java.util.Map params,
int sessionId)
throws java.lang.Exception
- Specified by:
doOperation in interface IRemoteOperationServer
- Throws:
java.lang.Exception
getDocument
public IODMSDocument getDocument()
throws java.lang.Exception
- Throws:
java.lang.Exception
getProperty
public IODMSProperties getProperty()
throws java.lang.Exception
- Throws:
java.lang.Exception
getVersion
public IODMSVersions getVersion()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Throws:
java.lang.Exception