public class Activator extends Object implements org.osgi.framework.BundleActivator, org.osgi.util.tracker.ServiceTrackerCustomizer
Modifier and Type | Field and Description |
---|---|
protected org.osgi.framework.BundleContext |
context |
protected org.osgi.util.tracker.ServiceTracker |
httpServiceTracker |
protected org.osgi.framework.ServiceReference |
pkgAdm |
Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
Object |
addingService(org.osgi.framework.ServiceReference reference) |
org.osgi.framework.BundleContext |
getContext() |
static Activator |
getInstance() |
org.osgi.service.packageadmin.PackageAdmin |
getPackageAdmin() |
void |
modifiedService(org.osgi.framework.ServiceReference reference,
Object service) |
void |
removedService(org.osgi.framework.ServiceReference reference,
Object service) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
protected org.osgi.util.tracker.ServiceTracker httpServiceTracker
protected org.osgi.framework.BundleContext context
protected org.osgi.framework.ServiceReference pkgAdm
public Activator()
public static Activator getInstance()
public void start(org.osgi.framework.BundleContext context)
start
in interface org.osgi.framework.BundleActivator
public void stop(org.osgi.framework.BundleContext context)
stop
in interface org.osgi.framework.BundleActivator
public org.osgi.framework.BundleContext getContext()
public org.osgi.service.packageadmin.PackageAdmin getPackageAdmin()
public Object addingService(org.osgi.framework.ServiceReference reference)
addingService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void removedService(org.osgi.framework.ServiceReference reference, Object service)
removedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
public void modifiedService(org.osgi.framework.ServiceReference reference, Object service)
modifiedService
in interface org.osgi.util.tracker.ServiceTrackerCustomizer
Copyright © 2015 Nuxeo SA. All rights reserved.