@Deprecated public abstract class OsgiCommandSupport extends AbstractAction implements Action, BundleContextAware
| Modifier and Type | Field and Description |
|---|---|
protected org.osgi.framework.BundleContext |
bundleContext
Deprecated.
|
protected List<org.osgi.framework.ServiceReference<?>> |
usedReferences
Deprecated.
|
log, session| Constructor and Description |
|---|
OsgiCommandSupport()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(org.apache.felix.service.command.CommandSession session)
Deprecated.
|
protected <T> List<T> |
getAllServices(Class<T> clazz)
Deprecated.
|
protected <T> List<T> |
getAllServices(Class<T> clazz,
String filter)
Deprecated.
|
org.osgi.framework.BundleContext |
getBundleContext()
Deprecated.
|
protected <T> T |
getService(Class<T> clazz)
Deprecated.
|
protected <T> T |
getService(Class<T> clazz,
org.osgi.framework.ServiceReference<T> reference)
Deprecated.
|
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext)
Deprecated.
|
protected void |
ungetServices()
Deprecated.
|
checkInterrupted, doExecuteprotected org.osgi.framework.BundleContext bundleContext
protected List<org.osgi.framework.ServiceReference<?>> usedReferences
public Object execute(org.apache.felix.service.command.CommandSession session) throws Exception
execute in interface Actionexecute in class AbstractActionExceptionpublic org.osgi.framework.BundleContext getBundleContext()
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
setBundleContext in interface BundleContextAwareprotected <T> List<T> getAllServices(Class<T> clazz, String filter) throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxExceptionprotected <T> T getService(Class<T> clazz)
protected <T> T getService(Class<T> clazz, org.osgi.framework.ServiceReference<T> reference)
protected void ungetServices()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.