Package org.apache.felix.scr.impl
Class ComponentCommandsScrInfo
java.lang.Object
org.apache.felix.scr.impl.ComponentCommandsScrInfo
- All Implemented Interfaces:
ScrInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ComponentCommands
private final org.osgi.framework.BundleContext
-
Constructor Summary
ConstructorsConstructorDescriptionComponentCommandsScrInfo
(ComponentCommands commands, org.osgi.framework.BundleContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
config
(PrintWriter out) List in text the current SCR configurationprivate org.osgi.framework.Bundle
findBundle
(String bsn) private CharSequence
format
(Object info, PrintWriter out, int level) private long
getBundleID
(String bundleIdentifier) void
info
(String componentId, PrintWriter out) List in text detailed information about the specified components.void
list
(String bundleIdentifier, PrintWriter out) List in text the components for the bundle specified, or all components if null, sorted by component ID
-
Field Details
-
commands
-
context
private final org.osgi.framework.BundleContext context
-
-
Constructor Details
-
ComponentCommandsScrInfo
ComponentCommandsScrInfo(ComponentCommands commands, org.osgi.framework.BundleContext context)
-
-
Method Details
-
list
Description copied from interface:ScrInfo
List in text the components for the bundle specified, or all components if null, sorted by component ID -
getBundleID
-
info
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
-
config
Description copied from interface:ScrInfo
List in text the current SCR configuration -
findBundle
-