|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.client.model.impl.api.ESServerFactoryImpl
public final class ESServerFactoryImpl
Implementation of a factory for creating ESServer instances.
| Field Summary | |
|---|---|
static ESServerFactoryImpl |
INSTANCE
The factory instance. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ESServerFactoryImpl INSTANCE
| Method Detail |
|---|
public ESServer createServer(String url,
int port,
String certificate)
ESWorkspace.addServer(ESServer) in order to
to avoid DanglingHREFExceptions upon saving.
createServer in interface ESServerFactoryurl - the URL of the serverport - the port of the server where EMFStore is listing oncertificate - the certificate alias to be used
ESServer instance representing the remote serverESServerFactory.createServer(java.lang.String, int, java.lang.String)
public ESServer createServer(String name,
String url,
int port,
String certificate)
ESWorkspace.addServer(ESServer) in order to
to avoid DanglingHREFExceptions upon saving.
createServer in interface ESServerFactoryname - 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 used
ESServer instance representing the remote serverESServerFactory.createServer(java.lang.String, java.lang.String, int,
java.lang.String)
public ESServer createAndStartLocalServer()
throws ESServerStartFailedException
ESWorkspace.addServer(ESServer) in order to
to avoid DanglingHREFExceptions upon saving.
createAndStartLocalServer in interface ESServerFactoryESServer instance representing the local server on the client side.
ESServerStartFailedException - if starting the server failsESServerFactory.createAndStartLocalServer()public void stopLocalServer()
stopLocalServer in interface ESServerFactoryESServerFactory.stopLocalServer()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||