public interface BundleWiringStateMBean
It can be used to retrieve the declared capabilities, declared requirements, and wiring for the current and past revisions of bundles.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTRIBUTES
The key of
ATTRIBUTES_ITEM . |
static Item |
ATTRIBUTES_ITEM
The item containing the attributes of a capability or requirement.
|
static javax.management.openmbean.TabularType |
ATTRIBUTES_TYPE
The Tabular Type that holds the attributes for a capability or
requirements.
|
static java.lang.String |
BUNDLE_CAPABILITY
The key of
BUNDLE_CAPABILITY_ITEM . |
static Item |
BUNDLE_CAPABILITY_ITEM
The item containing a capability for a bundle in
BUNDLE_WIRE_TYPE . |
static javax.management.openmbean.CompositeType |
BUNDLE_CAPABILITY_TYPE
The Composite Type that represents the capability of a bundle.
|
static java.lang.String |
BUNDLE_ID
The key of
BUNDLE_ID_ITEM . |
static Item |
BUNDLE_ID_ITEM
The item containing a bundle ID.
|
static java.lang.String |
BUNDLE_REQUIREMENT
The key of
BUNDLE_REQUIREMENT_ITEM . |
static Item |
BUNDLE_REQUIREMENT_ITEM
The item containing a requirement for a bundle in
BUNDLE_WIRE_TYPE . |
static javax.management.openmbean.CompositeType |
BUNDLE_REQUIREMENT_TYPE
The Composite Type that represents the requirement of a bundle.
|
static java.lang.String |
BUNDLE_REVISION_ID
The key of
BUNDLE_REVISION_ID_ITEM . |
static Item |
BUNDLE_REVISION_ID_ITEM
The item containing a bundle revision ID.
|
static javax.management.openmbean.CompositeType |
BUNDLE_WIRE_TYPE
The Composite type that represents a bundle wire describing the live
association between a provider of a capability and a requirer of the
corresponding requirement.
|
static javax.management.openmbean.ArrayType |
BUNDLE_WIRES_TYPE_ARRAY
An array of
BUNDLE_WIRE_TYPE s. |
static javax.management.openmbean.CompositeType |
BUNDLE_WIRING_TYPE
The Composite Type that represents a bundle wiring.
|
static javax.management.openmbean.TabularType |
BUNDLES_WIRING_TYPE
The Tabular Type to hold the wiring of a number of bundles.
|
static java.lang.String |
CAPABILITIES
The key of
CAPABILITIES_ITEM . |
static Item |
CAPABILITIES_ITEM
The item containing the capabilities in
REVISION_CAPABILITIES_TYPE and BUNDLE_WIRING_TYPE . |
static javax.management.openmbean.ArrayType |
CAPABILITY_TYPE_ARRAY
An array of
BUNDLE_CAPABILITY_TYPE s. |
static javax.management.openmbean.CompositeType |
DIRECTIVE_TYPE
The Composite Type that represents a directive for a capability or
requirement.
|
static java.lang.String |
DIRECTIVES
The key of
DIRECTIVES_ITEM . |
static Item |
DIRECTIVES_ITEM
The item containing the directives of a capability or requirement.
|
static javax.management.openmbean.TabularType |
DIRECTIVES_TYPE
The Tabular Type that holds the directives for a capability or
requirement.
|
static java.lang.String |
KEY
The key of
KEY_ITEM . |
static Item |
KEY_ITEM
The item containing the key of a capability or requirement directive.
|
static java.lang.String |
NAMESPACE
The key of
NAMESPACE_ITEM . |
static Item |
NAMESPACE_ITEM
The item containing the namespace for a capability or requirement.
|
static java.lang.String |
OBJECTNAME
The Object Name prefix for this mbean.
|
static java.lang.String |
PROVIDED_WIRES
The key of
PROVIDED_WIRES_ITEM . |
static Item |
PROVIDED_WIRES_ITEM
The item containing the provided wires in
BUNDLE_WIRING_TYPE . |
static java.lang.String |
PROVIDER_BUNDLE_ID
The key of
PROVIDER_BUNDLE_ID_ITEM . |
static Item |
PROVIDER_BUNDLE_ID_ITEM
The item containing the provider bundle ID in
BUNDLE_WIRE_TYPE . |
static java.lang.String |
PROVIDER_BUNDLE_REVISION_ID
The key of
PROVIDER_BUNDLE_REVISION_ID_ITEM . |
static Item |
PROVIDER_BUNDLE_REVISION_ID_ITEM
The local ID of a provider revision in
BUNDLE_WIRE_TYPE . |
static java.lang.String |
REQUIRED_WIRES
The key of
REQUIRED_WIRES_ITEM . |
static Item |
REQUIRED_WIRES_ITEM
The item containing the required wires in
BUNDLE_WIRING_TYPE . |
static javax.management.openmbean.ArrayType |
REQUIREMENT_TYPE_ARRAY
An array of
BUNDLE_REQUIREMENT_TYPE s. |
static java.lang.String |
REQUIREMENTS
The key of
REQUIREMENTS_ITEM . |
static Item |
REQUIREMENTS_ITEM
The item containing the requirements in
REVISION_REQUIREMENTS_TYPE and BUNDLE_WIRING_TYPE . |
static java.lang.String |
REQUIRER_BUNDLE_ID
The key of
REQUIRER_BUNDLE_ID_ITEM . |
static Item |
REQUIRER_BUNDLE_ID_ITEM
The item containing the requirer bundle ID in
BUNDLE_WIRE_TYPE . |
static java.lang.String |
REQUIRER_BUNDLE_REVISION_ID
The key of
REQUIRER_BUNDLE_REVISION_ID_ITEM . |
static Item |
REQUIRER_BUNDLE_REVISION_ID_ITEM
The local ID of a requirer revision in
BUNDLE_WIRE_TYPE . |
static javax.management.openmbean.CompositeType |
REVISION_CAPABILITIES_TYPE
The Composite Type that represents the capabilities for a revision.
|
static javax.management.openmbean.CompositeType |
REVISION_REQUIREMENTS_TYPE
The Composite Type that represents the requirements of a revision.
|
static javax.management.openmbean.TabularType |
REVISIONS_CAPABILITIES_TYPE
The Tabular Type that holds the capabilities of a revision.
|
static javax.management.openmbean.TabularType |
REVISIONS_REQUIREMENTS_TYPE
The Tabular Type that hold the requirements of a revision.
|
static java.lang.String |
VALUE
The key of
VALUE . |
static Item |
VALUE_ITEM
The item containing the value of a capability or requirement directive.
|
Modifier and Type | Method and Description |
---|---|
javax.management.openmbean.CompositeData[] |
getCurrentRevisionDeclaredCapabilities(long bundleId,
java.lang.String namespace)
Returns the capabilities for the current bundle revision.
|
javax.management.openmbean.CompositeData[] |
getCurrentRevisionDeclaredRequirements(long bundleId,
java.lang.String namespace)
Returns the requirements for the current bundle revision.
|
javax.management.openmbean.CompositeData |
getCurrentWiring(long bundleId,
java.lang.String namespace)
Returns the bundle wiring for the current bundle revision.
|
javax.management.openmbean.TabularData |
getCurrentWiringClosure(long rootBundleId,
java.lang.String namespace)
Returns the bundle wiring closure for the current revision of the
specified bundle.
|
javax.management.openmbean.TabularData |
getRevisionsDeclaredCapabilities(long bundleId,
java.lang.String namespace)
Returns the capabilities for all revisions of the bundle.
|
javax.management.openmbean.TabularData |
getRevisionsDeclaredRequirements(long bundleId,
java.lang.String namespace)
Returns the requirements for all revisions of the bundle.
|
javax.management.openmbean.TabularData |
getRevisionsWiring(long bundleId,
java.lang.String namespace)
Returns the bundle wirings for all revisions of the bundle.
|
javax.management.openmbean.TabularData |
getRevisionsWiringClosure(long rootBundleId,
java.lang.String namespace)
Returns the bundle wiring closure for all revisions of the specified
bundle.
|
static final java.lang.String OBJECTNAME
static final java.lang.String KEY
KEY_ITEM
.static final Item KEY_ITEM
DIRECTIVE_TYPE
. The key is KEY
and the type is
a String.static final java.lang.String VALUE
VALUE
.static final Item VALUE_ITEM
DIRECTIVE_TYPE
. They key is VALUE
and the type
is a String.static final javax.management.openmbean.CompositeType DIRECTIVE_TYPE
static final javax.management.openmbean.TabularType DIRECTIVES_TYPE
DIRECTIVE_TYPE
and the index is
KEY
.static final java.lang.String DIRECTIVES
DIRECTIVES_ITEM
.static final Item DIRECTIVES_ITEM
BUNDLE_REQUIREMENT_TYPE
and BUNDLE_CAPABILITY_TYPE
.
The key is DIRECTIVES
and the type is DIRECTIVES_TYPE
.static final javax.management.openmbean.TabularType ATTRIBUTES_TYPE
JmxConstants.PROPERTY_TYPE
and the
index is JmxConstants.KEY
.static final java.lang.String ATTRIBUTES
ATTRIBUTES_ITEM
.static final Item ATTRIBUTES_ITEM
BUNDLE_REQUIREMENT_TYPE
and BUNDLE_CAPABILITY_TYPE
.
The key is ATTRIBUTES
and the type is ATTRIBUTES_TYPE
.static final java.lang.String NAMESPACE
NAMESPACE_ITEM
.static final Item NAMESPACE_ITEM
BUNDLE_REQUIREMENT_TYPE
and BUNDLE_CAPABILITY_TYPE
.
The key is NAMESPACE
and the type is a String.static final javax.management.openmbean.CompositeType BUNDLE_REQUIREMENT_TYPE
static final javax.management.openmbean.CompositeType BUNDLE_CAPABILITY_TYPE
static final java.lang.String PROVIDER_BUNDLE_ID
PROVIDER_BUNDLE_ID_ITEM
.static final Item PROVIDER_BUNDLE_ID_ITEM
BUNDLE_WIRE_TYPE
.
The key is PROVIDER_BUNDLE_ID
and the type is a long.static final java.lang.String REQUIRER_BUNDLE_ID
REQUIRER_BUNDLE_ID_ITEM
.static final Item REQUIRER_BUNDLE_ID_ITEM
BUNDLE_WIRE_TYPE
.
The key is REQUIRER_BUNDLE_ID
and the type is long.static final java.lang.String BUNDLE_REQUIREMENT
BUNDLE_REQUIREMENT_ITEM
.static final Item BUNDLE_REQUIREMENT_ITEM
BUNDLE_WIRE_TYPE
. The key is BUNDLE_REQUIREMENT
and the
type is BUNDLE_REQUIREMENT_TYPE
.static final java.lang.String BUNDLE_CAPABILITY
BUNDLE_CAPABILITY_ITEM
.static final Item BUNDLE_CAPABILITY_ITEM
BUNDLE_WIRE_TYPE
. The key is BUNDLE_CAPABILITY
and the
type is BUNDLE_CAPABILITY_TYPE
.static final java.lang.String PROVIDER_BUNDLE_REVISION_ID
PROVIDER_BUNDLE_REVISION_ID_ITEM
.static final Item PROVIDER_BUNDLE_REVISION_ID_ITEM
BUNDLE_WIRE_TYPE
. This ID
is local to the result where it resides and has no defined meaning across
multiple invocations. The key is PROVIDER_BUNDLE_REVISION_ID
and
the type is an int.static final java.lang.String REQUIRER_BUNDLE_REVISION_ID
REQUIRER_BUNDLE_REVISION_ID_ITEM
.static final Item REQUIRER_BUNDLE_REVISION_ID_ITEM
BUNDLE_WIRE_TYPE
. This ID
is local to the result where it resides and has no defined meaning across
multiple invocations. The key is REQUIRER_BUNDLE_REVISION_ID
and
the type is an int.static final javax.management.openmbean.CompositeType BUNDLE_WIRE_TYPE
static final javax.management.openmbean.ArrayType BUNDLE_WIRES_TYPE_ARRAY
BUNDLE_WIRE_TYPE
s.static final java.lang.String BUNDLE_REVISION_ID
BUNDLE_REVISION_ID_ITEM
.static final Item BUNDLE_REVISION_ID_ITEM
BUNDLE_REVISION_ID
and the type is an integer.static final java.lang.String BUNDLE_ID
BUNDLE_ID_ITEM
.static final Item BUNDLE_ID_ITEM
BUNDLE_ID
and the
type is a long.static final javax.management.openmbean.ArrayType REQUIREMENT_TYPE_ARRAY
BUNDLE_REQUIREMENT_TYPE
s.static final javax.management.openmbean.ArrayType CAPABILITY_TYPE_ARRAY
BUNDLE_CAPABILITY_TYPE
s.static final java.lang.String REQUIREMENTS
REQUIREMENTS_ITEM
.static final Item REQUIREMENTS_ITEM
REVISION_REQUIREMENTS_TYPE
and BUNDLE_WIRING_TYPE
. The
key is REQUIREMENTS
and the type is
REQUIREMENT_TYPE_ARRAY
.static final javax.management.openmbean.CompositeType REVISION_REQUIREMENTS_TYPE
static final javax.management.openmbean.TabularType REVISIONS_REQUIREMENTS_TYPE
REVISION_REQUIREMENTS_TYPE
and the index is
BUNDLE_REVISION_ID
.static final java.lang.String CAPABILITIES
CAPABILITIES_ITEM
.static final Item CAPABILITIES_ITEM
REVISION_CAPABILITIES_TYPE
and BUNDLE_WIRING_TYPE
. The
key is CAPABILITIES
and the type is
CAPABILITY_TYPE_ARRAY
.static final javax.management.openmbean.CompositeType REVISION_CAPABILITIES_TYPE
static final javax.management.openmbean.TabularType REVISIONS_CAPABILITIES_TYPE
REVISION_CAPABILITIES_TYPE
and the index is
BUNDLE_REVISION_ID
.static final java.lang.String PROVIDED_WIRES
PROVIDED_WIRES_ITEM
.static final Item PROVIDED_WIRES_ITEM
BUNDLE_WIRING_TYPE
.
The key is PROVIDED_WIRES
and the type is
BUNDLE_WIRES_TYPE_ARRAY
.static final java.lang.String REQUIRED_WIRES
REQUIRED_WIRES_ITEM
.static final Item REQUIRED_WIRES_ITEM
BUNDLE_WIRING_TYPE
.
The key is REQUIRED_WIRES
and the type is
BUNDLE_WIRES_TYPE_ARRAY
.static final javax.management.openmbean.CompositeType BUNDLE_WIRING_TYPE
static final javax.management.openmbean.TabularType BUNDLES_WIRING_TYPE
BUNDLE_WIRING_TYPE
and the index is the combination of the
BUNDLE_ID
and the BUNDLE_REVISION_ID
.javax.management.openmbean.CompositeData[] getCurrentRevisionDeclaredRequirements(long bundleId, java.lang.String namespace) throws java.io.IOException, javax.management.JMException
bundleId
- The bundle ID.namespace
- The namespace of the requirements to be returned by this
operation.bundleId
and namespace
.javax.management.JMException
- if there is a JMX problem.java.io.IOException
- if the connection could not be made because of a
communication problem.for the details of the CompositeData.
javax.management.openmbean.CompositeData[] getCurrentRevisionDeclaredCapabilities(long bundleId, java.lang.String namespace) throws java.io.IOException, javax.management.JMException
bundleId
- The bundle ID.namespace
- The namespace of the capabilities to be returned by this
operation.bundleId
and namespace
.javax.management.JMException
- if there is a JMX problem.java.io.IOException
- if the connection could not be made because of a
communication problem.for the details of the CompositeData.
javax.management.openmbean.CompositeData getCurrentWiring(long bundleId, java.lang.String namespace) throws java.io.IOException, javax.management.JMException
bundleId
- The bundle ID.namespace
- The namespace of the requirements and capabilities for
which to return information.bundleId
and namespace
.javax.management.JMException
- if there is a JMX problem.java.io.IOException
- if the connection could not be made because of a
communication problem.for the details of the CompositeData.
javax.management.openmbean.TabularData getCurrentWiringClosure(long rootBundleId, java.lang.String namespace) throws java.io.IOException, javax.management.JMException
rootBundleId
- the root bundle of the closure.namespace
- The namespace of the requirements and capabilities for
which to return information.javax.management.JMException
- if there is a JMX problem.java.io.IOException
- if the connection could not be made because of a
communication problem.for the details of the TabularData.
javax.management.openmbean.TabularData getRevisionsDeclaredRequirements(long bundleId, java.lang.String namespace) throws java.io.IOException, javax.management.JMException
bundleId
- The bundle ID.namespace
- The namespace of the requirements to be returned by this
operation.bundleId
.javax.management.JMException
- if there is a JMX problem.java.io.IOException
- if the connection could not be made because of a
communication problem.for the details of TabularData.
The requirements are in no particular order, and may change in
subsequent calls to this operation.
javax.management.openmbean.TabularData getRevisionsDeclaredCapabilities(long bundleId, java.lang.String namespace) throws java.io.IOException, javax.management.JMException
bundleId
- The bundle ID.namespace
- The namespace of the capabilities to be returned by this
operation.bundleId
javax.management.JMException
- if there is a JMX problem.java.io.IOException
- if the connection could not be made because of a
communication problem.for the details of TabularData.
The capabilities are in no particular order, and may change in
subsequent calls to this operation.
javax.management.openmbean.TabularData getRevisionsWiring(long bundleId, java.lang.String namespace) throws java.io.IOException, javax.management.JMException
bundleId
- The bundle ID.namespace
- The namespace of the requirements and capabilities for
which to return information.bundleId
and
namespace
.javax.management.JMException
- if there is a JMX problem.java.io.IOException
- if the connection could not be made because of a
communication problem.for the details of TabularData.
The bundle wirings are in no particular order, and may change in
subsequent calls to this operations.
javax.management.openmbean.TabularData getRevisionsWiringClosure(long rootBundleId, java.lang.String namespace) throws java.io.IOException, javax.management.JMException
rootBundleId
- The root bundle ID.namespace
- The namespace of the requirements and capabilities for
which to return information.javax.management.JMException
- if there is a JMX problem.java.io.IOException
- if the connection could not be made because of a
communication problem.for the details of TabularData.
The bundle wirings are in no particular order, and may change in
subsequent calls to this operation. Furthermore, the bundle revision
IDs are local and cannot be reused across invocations.
Copyright © 2010 - 2020 Adobe. All Rights Reserved