Package org.apache.felix.scr.impl
Class ComponentCommandsScrInfo
- java.lang.Object
-
- org.apache.felix.scr.impl.ComponentCommandsScrInfo
-
-
Field Summary
Fields Modifier and Type Field Description private ComponentCommands
commands
private org.osgi.framework.BundleContext
context
-
Constructor Summary
Constructors Constructor Description ComponentCommandsScrInfo(ComponentCommands commands, org.osgi.framework.BundleContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
config(java.io.PrintWriter out)
List in text the current SCR configurationprivate 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
-
-
-
Field Detail
-
commands
private final ComponentCommands commands
-
context
private final org.osgi.framework.BundleContext context
-
-
Constructor Detail
-
ComponentCommandsScrInfo
ComponentCommandsScrInfo(ComponentCommands commands, org.osgi.framework.BundleContext context)
-
-
Method Detail
-
list
public void list(java.lang.String bundleIdentifier, java.io.PrintWriter out)
Description copied from interface:ScrInfo
List in text the components for the bundle specified, or all components if null, sorted by component ID
-
getBundleID
private long getBundleID(java.lang.String bundleIdentifier)
-
info
public void info(java.lang.String componentId, java.io.PrintWriter out)
Description copied from interface:ScrInfo
List in text detailed information about the specified components. Components can be specified by numeric componentId, component name, a regexp to match for component name, or null for all components.
-
format
private java.lang.CharSequence format(java.lang.Object info, java.io.PrintWriter out, int level)
-
config
public void config(java.io.PrintWriter out)
Description copied from interface:ScrInfo
List in text the current SCR configuration
-
findBundle
private org.osgi.framework.Bundle findBundle(java.lang.String bsn)
-
-