public class CoreActivator extends Object implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
private static org.osgi.framework.BundleContext |
bundleContext |
private static org.osgi.service.http.HttpService |
httpService |
private org.osgi.util.tracker.ServiceTracker |
httpServiceTracker |
private Logger |
logger |
private DeepaMehtaStorage |
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 DeepaMehtaService |
getDeepaMehtaService() |
static org.osgi.service.http.HttpService |
getHttpService() |
static <S> S |
getService(Class<S> clazz) |
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 DeepaMehtaStorage storageService
private static org.osgi.service.http.HttpService httpService
private org.osgi.util.tracker.ServiceTracker storageServiceTracker
private org.osgi.util.tracker.ServiceTracker httpServiceTracker
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 DeepaMehtaService getDeepaMehtaService()
public static <S> S getService(Class<S> clazz)
public static org.osgi.service.http.HttpService getHttpService()
private org.osgi.util.tracker.ServiceTracker createServiceTracker(Class serviceInterface)
private void addService(Object service)
private void removeService(Object service)
private void checkRequirementsForActivation()
Copyright © 2015. All Rights Reserved.