Top Description Inners Fields Constructors Methods
org.osgi.framework.wiring.dto

public Class BundleWiringDTO

extends DTO
Class Inheritance
Imports
java.util.Set, org.osgi.dto.DTO, org.osgi.framework.wiring.BundleWiring, org.osgi.resource.dto.WiringDTO

Data Transfer Object for a BundleWiring graph.

An installed Bundle can be adapted to provide a BundleWiringDTO for the current wiring Bundle. BundleWiringDTO objects for all in use wirings of the Bundle can be obtained by adapting the bundle to BundleWiringDTO[].

Author
$Id: e23e80fcf8a14cbc9f565ec146821a4f22f2731b $

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
BundleWiringDTO.NodeDTO

Data Transfer Object for a BundleWiring node.

Field Summary

Modifier and TypeField and Description
public long
bundle

The id of the bundle associated with the bundle wiring graph.

public Set<BundleWiringDTO.NodeDTO>
nodes

The set of wiring nodes referenced by the wiring graph.

public Set<BundleRevisionDTO>
resources

The set of resources referenced by the wiring graph.

public int
root

The identifier of the root wiring node of the bundle wiring graph.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.osgi.dto.DTO:
toString

Field Detail

bundleback to summary
public long bundle

The id of the bundle associated with the bundle wiring graph.

See Also
BundleWiring#getBundle()
nodesback to summary
public Set<BundleWiringDTO.NodeDTO> nodes

The set of wiring nodes referenced by the wiring graph.

All wiring nodes referenced by wiring node identifiers in the wiring graph are contained in this set.

resourcesback to summary
public Set<BundleRevisionDTO> resources

The set of resources referenced by the wiring graph.

All resources referenced by resource identifiers in the wiring graph are contained in this set.

rootback to summary
public int root

The identifier of the root wiring node of the bundle wiring graph.

See Also
WiringDTO#id

Constructor Detail

BundleWiringDTOback to summary
public BundleWiringDTO()
org.osgi.framework.wiring.dto back to summary

public Class BundleWiringDTO.NodeDTO

extends WiringDTO
Class Inheritance

Data Transfer Object for a BundleWiring node.

The providedWires field must contain an array of BundleWireDTOs. The requiredWires field must contain an array of BundleWireDTOs.

Field Summary

Modifier and TypeField and Description
public boolean
current

The current state of the bundle wiring.

public boolean
inUse

The bundle wiring's in use setting indicates that the bundle wiring is in use.

Inherited from org.osgi.resource.dto.WiringDTO:
capabilitiesidprovidedWiresrequiredWiresrequirementsresource

Constructor Summary

AccessConstructor and Description
public

Field Detail

currentback to summary
public boolean current

The current state of the bundle wiring. The bundle wiring's current setting indicates that the bundle wiring is the current bundle wiring for the bundle.

See Also
BundleWiring#isCurrent()
inUseback to summary
public boolean inUse

The bundle wiring's in use setting indicates that the bundle wiring is in use.

See Also
BundleWiring#isInUse()

Constructor Detail

NodeDTOback to summary
public NodeDTO()