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 CoreServicegetCoreService()static org.osgi.service.http.HttpServicegetHttpService()static ModelFactorygetModelFactory()static <S> SgetService(Class<S> clazz)static DMXStorageopenDB(String databaseFactory, String databasePath)voidstart(org.osgi.framework.BundleContext bundleContext)voidstop(org.osgi.framework.BundleContext bundleContext)
-
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext bundleContext)
- Specified by:
startin interfaceorg.osgi.framework.BundleActivator
-
stop
public void stop(org.osgi.framework.BundleContext bundleContext)
- Specified by:
stopin 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)
-
-