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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doStart()
protected void
doStop()
boolean
final Object
start
(IApplicationContext context) final void
stop()
static void
traceStart
(String applicationID) static void
-
Constructor Details
-
OSGiApplication
-
-
Method Details
-
getApplicationID
-
getApplicationContext
-
isRunning
public boolean isRunning() -
start
- Specified by:
start
in interfaceIApplication
- Throws:
Exception
-
stop
public final void stop()- Specified by:
stop
in interfaceIApplication
-
doStart
- Throws:
Exception
-
doStop
- Throws:
Exception
-
traceStart
-
traceStop
-