OSGi™ Core
Release 6

org.osgi.framework.dto
Class FrameworkDTO

java.lang.Object
  extended by org.osgi.dto.DTO
      extended by 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. A FrameworkDTO obtained from a framework will contain only the launch properties of the framework. These properties will not include the System properties.

"NotThreadSafe"

Field Summary
 List<BundleDTO> bundles
          The bundles that are installed in the framework.
 Map<String,Object> properties
          The launch properties of the framework.
 List<ServiceReferenceDTO> services
          The services that are registered in the framework.
 
Constructor Summary
FrameworkDTO()
           
 
Method Summary
 
Methods inherited from class org.osgi.dto.DTO
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bundles

public List<BundleDTO> bundles
The bundles that are installed in the framework.

See Also:
BundleContext.getBundles()

properties

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)

services

public List<ServiceReferenceDTO> services
The services that are registered in the framework.

See Also:
BundleContext.getServiceReferences(String, String)
Constructor Detail

FrameworkDTO

public FrameworkDTO()

OSGi™ Core
Release 6

Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0