public interface ESServerFactory extends ESFactory
ESServer instances.| Modifier and Type | Method and Description |
|---|---|
ESServer |
createAndStartLocalServer()
Creates a server with a local name and launches a server process locally.
|
ESServer |
createServer(String url,
int port,
String certificate)
Creates a server without a local name.
|
ESServer |
createServer(String name,
String url,
int port,
String certificate)
Creates a server with a local name.
|
void |
stopLocalServer()
Stop the local server if it has been started.
|
ESServer createServer(String url, int port, String certificate)
ESWorkspace.addServer(ESServer) in order to
to avoid DanglingHREFExceptions upon saving.url - the URL of the serverport - the port of the server where EMFStore is listing oncertificate - the certificate alias to be usedESServer instance representing the remote serverorg.eclipse.emf.emfstore.client.ESWorkspace#addServer(ESServer)}ESServer createServer(String name, String url, int port, String certificate)
ESWorkspace.addServer(ESServer) in order to
to avoid DanglingHREFExceptions upon saving.name - the local name of the serverurl - the URL of the serverport - the port of the server where EMFStore is listing oncertificate - the certificate alias to be usedESServer instance representing the remote serverorg.eclipse.emf.emfstore.client.ESWorkspace#addServer(ESServer)}ESServer createAndStartLocalServer() throws ESServerStartFailedException
ESWorkspace.addServer(ESServer) in order to
to avoid DanglingHREFExceptions upon saving.ESServer instance representing the local server on the client side.ESServerStartFailedException - if starting the server failsvoid stopLocalServer()
Copyright © 2017. All rights reserved.