de.deepamehta.core.osgi
Class CoreActivator

Show UML class diagram
java.lang.Object
  extended by de.deepamehta.core.osgi.CoreActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class CoreActivator
extends Object
implements org.osgi.framework.BundleActivator


Field Summary
private  org.osgi.framework.BundleContext bundleContext
           
private  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 Summary
CoreActivator()
           
 
Method Summary
private  void addService(Object service)
           
private  void checkRequirementsForActivation()
           
private  org.osgi.util.tracker.ServiceTracker createServiceTracker(Class serviceInterface)
           
private  void removeService(Object service)
           
 void start(org.osgi.framework.BundleContext bundleContext)
           
 void stop(org.osgi.framework.BundleContext bundleContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundleContext

private org.osgi.framework.BundleContext bundleContext

storageService

private DeepaMehtaStorage storageService

httpService

private org.osgi.service.http.HttpService httpService

storageServiceTracker

private org.osgi.util.tracker.ServiceTracker storageServiceTracker

httpServiceTracker

private org.osgi.util.tracker.ServiceTracker httpServiceTracker

logger

private Logger logger
Constructor Detail

CoreActivator

public CoreActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bundleContext)
Specified by:
start in interface org.osgi.framework.BundleActivator

stop

public void stop(org.osgi.framework.BundleContext bundleContext)
Specified by:
stop in interface org.osgi.framework.BundleActivator

createServiceTracker

private org.osgi.util.tracker.ServiceTracker createServiceTracker(Class serviceInterface)

addService

private void addService(Object service)

removeService

private void removeService(Object service)

checkRequirementsForActivation

private void checkRequirementsForActivation()


Copyright © 2015. All Rights Reserved.