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

public Class FrameworkDTO

extends DTO
Class Inheritance
Imports
java.util.List, .Map, org.osgi.dto.DTO, org.osgi.framework.BundleContext

Data Transfer Object for a Framework.

The System Bundle can be adapted to provide a FrameworkDTO for the framework of the system bundle. A FrameworkDTO obtained from a framework will contain only the launch properties of the framework. These properties will not include the System properties.

Author
$Id: 7c525727cbe877e888b460cd14d8f9054f99ee0c $

Field Summary

Modifier and TypeField and Description
public List<BundleDTO>
bundles

The bundles that are installed in the framework.

public Map<String, Object>
properties

The launch properties of the framework.

public List<ServiceReferenceDTO>
services

The services that are registered in the framework.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.osgi.dto.DTO:
toString

Field Detail

bundlesback to summary
public List<BundleDTO> bundles

The bundles that are installed in the framework.

See Also
BundleContext#getBundles()
propertiesback to summary
public Map<String, 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)
servicesback to summary
public List<ServiceReferenceDTO> services

The services that are registered in the framework.

See Also
BundleContext#getServiceReferences(String, String)

Constructor Detail

FrameworkDTOback to summary
public FrameworkDTO()