Package systems.dmx.core.osgi
Class CoreActivator
- java.lang.Object
-
- systems.dmx.core.osgi.CoreActivator
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class CoreActivator extends Object implements org.osgi.framework.BundleActivator
-
-
Constructor Summary
Constructors Constructor Description CoreActivator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CoreService
getCoreService()
static org.osgi.service.http.HttpService
getHttpService()
static ModelFactory
getModelFactory()
static <S> S
getService(Class<S> clazz)
static DMXStorage
openDB(String databaseFactory, String databasePath)
void
start(org.osgi.framework.BundleContext bundleContext)
void
stop(org.osgi.framework.BundleContext bundleContext)
-
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext bundleContext)
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
-
stop
public void stop(org.osgi.framework.BundleContext bundleContext)
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
-
getCoreService
public static CoreService getCoreService()
-
getModelFactory
public static ModelFactory getModelFactory()
-
getHttpService
public static org.osgi.service.http.HttpService getHttpService()
-
getService
public static <S> S getService(Class<S> clazz)
-
openDB
public static DMXStorage openDB(String databaseFactory, String databasePath)
-
-