org.eclipse.emf.emfstore.internal.server.connection.xmlrpc
Class XmlRpcConnectionHandler

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.server.connection.xmlrpc.XmlRpcConnectionHandler
All Implemented Interfaces:
ConnectionHandler<EMFStore>

public class XmlRpcConnectionHandler
extends Object
implements ConnectionHandler<EMFStore>

Connection Handler for XML RPC EMFStore interface.

Author:
wesendon

Field Summary
static String EMFSTORE
          String interface identifier.
 
Constructor Summary
XmlRpcConnectionHandler()
           
 
Method Summary
static AccessControl getAccessControl()
          Returns AccessControl.
static EMFStore getEmfStore()
          Returns EMFstore.
 String getName()
          Return the handler name.
 void init(EMFStore emfStore, AccessControl accessControl)
          This method initializes the ConnectionHandler.
 void stop()
          Stop the handler.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMFSTORE

public static final String EMFSTORE
String interface identifier.

See Also:
Constant Field Values
Constructor Detail

XmlRpcConnectionHandler

public XmlRpcConnectionHandler()
Method Detail

getName

public String getName()
Return the handler name.

Specified by:
getName in interface ConnectionHandler<EMFStore>
Returns:
the name of the handler

init

public void init(EMFStore emfStore,
                 AccessControl accessControl)
          throws ESServerInitException
This method initializes the ConnectionHandler.

Specified by:
init in interface ConnectionHandler<EMFStore>
Parameters:
emfStore - an implementation of a server interface
accessControl - an implementation of the AuthenticationControl
Throws:
ESServerInitException
See Also:
ConnectionHandler.init(org.eclipse.emf.emfstore.internal.server.EMFStoreInterface, org.eclipse.emf.emfstore.internal.server.accesscontrol.AccessControl)

getEmfStore

public static EMFStore getEmfStore()
Returns EMFstore.

Returns:
the EMFStore

getAccessControl

public static AccessControl getAccessControl()
Returns AccessControl.

Returns:
access control

stop

public void stop()
Stop the handler.

Specified by:
stop in interface ConnectionHandler<EMFStore>
See Also:
ConnectionHandler.stop()


Copyright © 2015. All Rights Reserved.