public abstract class ScrActionSupport extends Object implements org.apache.karaf.shell.api.action.Action
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
static String |
SHOW_ALL_ALIAS |
static String |
SHOW_ALL_OPTION |
| Constructor and Description |
|---|
ScrActionSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
doScrAction(org.apache.felix.scr.ScrService scrService) |
Object |
execute() |
org.osgi.framework.BundleContext |
getBundleContext()
Get the bundleContext Object associated with this instance of
ScrActionSupport.
|
org.apache.felix.scr.ScrService |
getScrService()
Get the scrService Object associated with this instance of
ScrActionSupport.
|
protected boolean |
isActionable(org.apache.felix.scr.Component component) |
static boolean |
isHiddenComponent(org.apache.felix.scr.Component component) |
void |
setScrService(org.apache.felix.scr.ScrService scrService)
Sets the scrService Object for this ScrActionSupport instance.
|
static boolean |
showHiddenComponent(org.apache.karaf.shell.api.console.CommandLine commandLine,
org.apache.felix.scr.Component component) |
public static final String SHOW_ALL_OPTION
public static final String SHOW_ALL_ALIAS
protected final org.slf4j.Logger logger
public Object execute() throws Exception
execute in interface org.apache.karaf.shell.api.action.ActionExceptionprotected abstract Object doScrAction(org.apache.felix.scr.ScrService scrService) throws Exception
Exceptionprotected boolean isActionable(org.apache.felix.scr.Component component)
public static boolean showHiddenComponent(org.apache.karaf.shell.api.console.CommandLine commandLine,
org.apache.felix.scr.Component component)
public static boolean isHiddenComponent(org.apache.felix.scr.Component component)
public org.osgi.framework.BundleContext getBundleContext()
public org.apache.felix.scr.ScrService getScrService()
public void setScrService(org.apache.felix.scr.ScrService scrService)
scrService - the scrService to setCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.