Package org.eclipse.net4j.util.om
Class OSGiApplication
java.lang.Object
org.eclipse.net4j.util.om.OSGiApplication
- All Implemented Interfaces:
IApplication
A default implementation of an OSGi
application.- Author:
- Eike Stepper
-
Field Summary
Fields inherited from interface org.eclipse.equinox.app.IApplication
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoStart()protected voiddoStop()booleanfinal Objectstart(IApplicationContext context) final voidstop()static voidtraceStart(String applicationID) static void
-
Constructor Details
-
OSGiApplication
-
-
Method Details
-
getApplicationID
-
getApplicationContext
-
isRunning
public boolean isRunning() -
start
- Specified by:
startin interfaceIApplication- Throws:
Exception
-
stop
public final void stop()- Specified by:
stopin interfaceIApplication
-
doStart
- Throws:
Exception
-
doStop
- Throws:
Exception
-
traceStart
-
traceStop
-