|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.server.EMFStoreController
public class EMFStoreController
The EMFStoreController is controlling startup and shutdown of the
EmfStore.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.equinox.app.IApplication |
|---|
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART |
| Constructor Summary | |
|---|---|
EMFStoreController()
|
|
| Method Summary | |
|---|---|
AccessControl |
getAccessControl()
Returns the AccessControl component of the EMFStore controller. |
static EMFStoreController |
getInstance()
Return the singleton instance of EmfStoreControler. |
ServerSpace |
getServerSpace()
Returns the ServerSpace. |
void |
run()
|
void |
run(boolean waitForTermination)
Run the server. |
static EMFStoreController |
runAsNewThread()
Starts the server in a new thread. |
void |
shutdown(FatalESException exception)
Shutdown EmfStore due to an fatal exception. |
Object |
start(org.eclipse.equinox.app.IApplicationContext context)
|
void |
stop()
|
void |
stopServer()
Stops the EMFStore gracefully. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EMFStoreController()
| Method Detail |
|---|
public Object start(org.eclipse.equinox.app.IApplicationContext context)
throws FatalESException
start in interface org.eclipse.equinox.app.IApplicationFatalESExceptionIApplication.start(org.eclipse.equinox.app.IApplicationContext)
public void run(boolean waitForTermination)
throws FatalESException
waitForTermination - true if the server should force the calling thread to wait for
its termination
FatalESException - if the server fails fatallypublic static EMFStoreController getInstance()
public void stopServer()
public void shutdown(FatalESException exception)
exception - the fatal exception that triggered the shutdownpublic void run()
run in interface RunnableRunnable.run()
public static EMFStoreController runAsNewThread()
throws FatalESException
FatalESException - in case of failurepublic ServerSpace getServerSpace()
ServerSpace.
public AccessControl getAccessControl()
AccessControl component of the EMFStore controller.
AccessControl componentpublic void stop()
stop in interface org.eclipse.equinox.app.IApplicationIApplication.stop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||