public abstract class ScrActionSupport extends AbstractAction
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
static String |
SHOW_ALL_ALIAS |
static String |
SHOW_ALL_OPTION |
log, session
Constructor and Description |
---|
ScrActionSupport() |
Modifier and Type | Method and Description |
---|---|
String |
buildLeftPadBracketDisplay(String s,
int max) |
String |
buildRightPadBracketDisplay(String s,
int max) |
protected Object |
doExecute() |
protected abstract Object |
doScrAction(org.apache.felix.scr.ScrService scrService) |
String |
getBoldString(String value) |
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.felix.scr.Component component) |
execute
public static final String SHOW_ALL_OPTION
public static final String SHOW_ALL_ALIAS
protected final org.slf4j.Logger logger
protected Object doExecute() throws Exception
doExecute
in class AbstractAction
Exception
protected abstract Object doScrAction(org.apache.felix.scr.ScrService scrService) throws Exception
Exception
protected boolean isActionable(org.apache.felix.scr.Component component)
public static boolean showHiddenComponent(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-2013 FuseSource, Corp.. All Rights Reserved.