public class CoreActivator extends Object implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
private static org.osgi.framework.BundleContext |
bundleContext |
private CoreServiceImpl |
dmx |
private static org.osgi.service.http.HttpService |
httpService |
private org.osgi.util.tracker.ServiceTracker |
httpServiceTracker |
private Logger |
logger |
private DMXStorage |
storageService |
private org.osgi.util.tracker.ServiceTracker |
storageServiceTracker |
Constructor and Description |
---|
CoreActivator() |
Modifier and Type | Method and Description |
---|---|
private void |
addService(Object service) |
private void |
checkRequirementsForActivation() |
private org.osgi.util.tracker.ServiceTracker |
createServiceTracker(Class serviceInterface) |
static CoreService |
getCoreService() |
static org.osgi.service.http.HttpService |
getHttpService() |
static ModelFactory |
getModelFactory() |
static <S> S |
getService(Class<S> clazz) |
private void |
registerModelFactory() |
private void |
removeService(Object service) |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop(org.osgi.framework.BundleContext bundleContext) |
private static org.osgi.framework.BundleContext bundleContext
private DMXStorage storageService
private static org.osgi.service.http.HttpService httpService
private org.osgi.util.tracker.ServiceTracker storageServiceTracker
private org.osgi.util.tracker.ServiceTracker httpServiceTracker
private CoreServiceImpl dmx
public CoreActivator()
public void start(org.osgi.framework.BundleContext bundleContext)
start
in interface org.osgi.framework.BundleActivator
public void stop(org.osgi.framework.BundleContext bundleContext)
stop
in interface org.osgi.framework.BundleActivator
public static CoreService getCoreService()
public static ModelFactory getModelFactory()
public static org.osgi.service.http.HttpService getHttpService()
public static <S> S getService(Class<S> clazz)
private void registerModelFactory()
private org.osgi.util.tracker.ServiceTracker createServiceTracker(Class serviceInterface)
private void addService(Object service)
private void removeService(Object service)
private void checkRequirementsForActivation()
Copyright © 2018. All Rights Reserved.