Package org.osgi.resource.dto
Class WiringDTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- org.osgi.resource.dto.WiringDTO
-
- Direct Known Subclasses:
BundleWiringDTO.NodeDTO
public class WiringDTO extends DTO
Data Transfer Object for a Wiring node.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<CapabilityRefDTO>
capabilities
The references to the capabilities for the wiring node.int
id
The unique identifier of the wiring node.java.util.List<WireDTO>
providedWires
The provided wires for the wiring node.java.util.List<WireDTO>
requiredWires
The required wires for the wiring node.java.util.List<RequirementRefDTO>
requirements
The references to the requirements for the wiring node.int
resource
The identifier of the resource associated with the wiring node.
-
Constructor Summary
Constructors Constructor Description WiringDTO()
-
-
-
Field Detail
-
id
public int id
The unique identifier of the wiring node.This identifier is transiently assigned and may vary across restarts.
-
capabilities
public java.util.List<CapabilityRefDTO> capabilities
The references to the capabilities for the wiring node.- See Also:
Wiring.getResourceCapabilities(String)
-
requirements
public java.util.List<RequirementRefDTO> requirements
The references to the requirements for the wiring node.- See Also:
Wiring.getResourceRequirements(String)
-
providedWires
public java.util.List<WireDTO> providedWires
The provided wires for the wiring node.- See Also:
Wiring.getProvidedResourceWires(String)
-
requiredWires
public java.util.List<WireDTO> requiredWires
The required wires for the wiring node.- See Also:
Wiring.getRequiredResourceWires(String)
-
resource
public int resource
The identifier of the resource associated with the wiring node.- See Also:
ResourceDTO.id
,Wiring.getResource()
-
-