public abstract class FrameActivator extends Object implements org.osgi.framework.BundleActivator, org.osgi.util.tracker.ServiceTrackerCustomizer
| Constructor and Description |
|---|
FrameActivator() |
| Modifier and Type | Method and Description |
|---|---|
Object |
addingService(org.osgi.framework.ServiceReference reference) |
String |
getProperty(String key) |
<T> T |
getService(Class<T> c) |
<T> T |
getServiceForce(String serviceName) |
void |
modifiedService(org.osgi.framework.ServiceReference reference,
Object object) |
void |
registerService(Class c,
Object object) |
void |
removedService(org.osgi.framework.ServiceReference reference,
Object object) |
abstract void |
start() |
void |
start(org.osgi.framework.BundleContext context) |
void |
start(MulitServiceTrackerCustomizer mstc,
Class... cs) |
abstract void |
stop() |
void |
stop(org.osgi.framework.BundleContext context) |
public final void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorExceptionpublic final void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorExceptionpublic final <T> T getService(Class<T> c)
public final void start(MulitServiceTrackerCustomizer mstc, Class... cs) throws Exception
Exceptionpublic final Object addingService(org.osgi.framework.ServiceReference reference)
addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizerpublic final void modifiedService(org.osgi.framework.ServiceReference reference,
Object object)
modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizerpublic final void removedService(org.osgi.framework.ServiceReference reference,
Object object)
removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizerpublic <T> T getServiceForce(String serviceName)
Copyright © 2017. All rights reserved.