D
- the ActionDescriptor typepublic class ActionRegistry<D extends ActionDescriptor<?>> extends Object
Constructor and Description |
---|
ActionRegistry(Class<D> actionDescriptorType) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getAction(String actionId,
Class<T> actionClass,
org.osgi.framework.BundleContext context) |
D |
getActionDescriptor(String actionId,
org.osgi.framework.BundleContext context) |
String |
getActionId(org.osgi.framework.ServiceReference<?> reference) |
<T> void |
registerAction(String actionId,
Class<T> actionClass,
T action,
org.osgi.framework.BundleContext context) |
void |
registerActionDescriptor(D actionDescriptor,
org.osgi.framework.BundleContext context) |
public <T> T getAction(String actionId, Class<T> actionClass, org.osgi.framework.BundleContext context)
public <T> void registerAction(String actionId, Class<T> actionClass, T action, org.osgi.framework.BundleContext context)
public String getActionId(org.osgi.framework.ServiceReference<?> reference)
public void registerActionDescriptor(D actionDescriptor, org.osgi.framework.BundleContext context)
Copyright © 2012–2018 Drombler. All rights reserved.