Package org.osgi.framework.dto
Class FrameworkDTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- org.osgi.framework.dto.FrameworkDTO
-
public class FrameworkDTO extends DTO
Data Transfer Object for a Framework.The System Bundle can be adapted to provide a
FrameworkDTO
for the framework of the system bundle. AFrameworkDTO
obtained from a framework will contain only the launch properties of the framework. These properties will not include the System properties.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<BundleDTO>
bundles
The bundles that are installed in the framework.java.util.Map<java.lang.String,java.lang.Object>
properties
The launch properties of the framework.java.util.List<ServiceReferenceDTO>
services
The services that are registered in the framework.
-
Constructor Summary
Constructors Constructor Description FrameworkDTO()
-
-
-
Field Detail
-
bundles
public java.util.List<BundleDTO> bundles
The bundles that are installed in the framework.- See Also:
BundleContext.getBundles()
-
properties
public java.util.Map<java.lang.String,java.lang.Object> properties
The launch properties of the framework. The value type must be a numerical type, Boolean, String, DTO or an array of any of the former.- See Also:
BundleContext.getProperty(String)
-
services
public java.util.List<ServiceReferenceDTO> services
The services that are registered in the framework.
-
-