Modifier and Type | Field and Description |
---|---|
private ComponentCommands |
commands |
private org.osgi.framework.BundleContext |
context |
Constructor and Description |
---|
ComponentCommandsScrInfo(ComponentCommands commands,
org.osgi.framework.BundleContext context) |
Modifier and Type | Method and Description |
---|---|
void |
config(java.io.PrintWriter out)
List in text the current SCR configuration
|
private org.osgi.framework.Bundle |
findBundle(java.lang.String bsn) |
private java.lang.CharSequence |
format(java.lang.Object info,
java.io.PrintWriter out,
int level) |
private long |
getBundleID(java.lang.String bundleIdentifier) |
void |
info(java.lang.String componentId,
java.io.PrintWriter out)
List in text detailed information about the specified components.
|
void |
list(java.lang.String bundleIdentifier,
java.io.PrintWriter out)
List in text the components for the bundle specified, or all components if null, sorted by component ID
|
private final ComponentCommands commands
private final org.osgi.framework.BundleContext context
ComponentCommandsScrInfo(ComponentCommands commands, org.osgi.framework.BundleContext context)
public void list(java.lang.String bundleIdentifier, java.io.PrintWriter out)
ScrInfo
private long getBundleID(java.lang.String bundleIdentifier)
public void info(java.lang.String componentId, java.io.PrintWriter out)
ScrInfo
private java.lang.CharSequence format(java.lang.Object info, java.io.PrintWriter out, int level)
public void config(java.io.PrintWriter out)
ScrInfo
private org.osgi.framework.Bundle findBundle(java.lang.String bsn)