public class Activator extends Object implements org.osgi.framework.BundleActivator, org.osgi.util.tracker.ServiceTrackerCustomizer
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) |
public static Activator getInstance()
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
Exception
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 © 2013 Nuxeo SA. All Rights Reserved.