public class BundleWiringDTO extends DTO
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[]
.
Modifier and Type | Class and Description |
---|---|
static class |
BundleWiringDTO.NodeDTO
Data Transfer Object for a BundleWiring node.
|
Modifier and Type | Field and Description |
---|---|
long |
bundle
The id of the bundle associated with the bundle wiring graph.
|
java.util.Set<BundleWiringDTO.NodeDTO> |
nodes
The set of wiring nodes referenced by the wiring graph.
|
java.util.Set<BundleRevisionDTO> |
resources
The set of resources referenced by the wiring graph.
|
int |
root
The identifier of the root wiring node of the bundle wiring graph.
|
Constructor and Description |
---|
BundleWiringDTO() |
public long bundle
BundleReference.getBundle()
public int root
WiringDTO.id
public java.util.Set<BundleWiringDTO.NodeDTO> nodes
All wiring nodes referenced by wiring node identifiers in the wiring graph are contained in this set.
public java.util.Set<BundleRevisionDTO> resources
All resources referenced by resource identifiers in the wiring graph are contained in this set.
Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0