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.BundleActivatorpublic void stop(org.osgi.framework.BundleContext context)
stop in interface org.osgi.framework.BundleActivatorpublic 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.ServiceTrackerCustomizerpublic void removedService(org.osgi.framework.ServiceReference reference, Object service)
removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizerpublic void modifiedService(org.osgi.framework.ServiceReference reference, Object service)
modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizerCopyright © 2019 Nuxeo. All rights reserved.