OSGi™ Core
Release 6

org.osgi.framework.wiring.dto
Class BundleRevisionDTO

java.lang.Object
  extended by org.osgi.dto.DTO
      extended by org.osgi.resource.dto.ResourceDTO
          extended by org.osgi.framework.wiring.dto.BundleRevisionDTO

public class BundleRevisionDTO
extends ResourceDTO

Data Transfer Object for a BundleRevision.

An installed Bundle can be adapted to provide a BundleRevisionDTO for the current revision of the Bundle. BundleRevisionDTO objects for all in use revisions of the Bundle can be obtained by adapting the bundle to BundleRevisionDTO[].

"NotThreadSafe"

Field Summary
 long bundle
          The id of the bundle associated with the bundle revision.
 String symbolicName
          The symbolic name of the bundle revision.
 int type
          The type of the bundle revision.
 String version
          The version of the bundle revision.
 
Fields inherited from class org.osgi.resource.dto.ResourceDTO
capabilities, id, requirements
 
Constructor Summary
BundleRevisionDTO()
           
 
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

symbolicName

public String symbolicName
The symbolic name of the bundle revision.

See Also:
BundleRevision.getSymbolicName()

type

public int type
The type of the bundle revision.

See Also:
BundleRevision.getTypes()

version

public String version
The version of the bundle revision.

See Also:
BundleRevision.getVersion()

bundle

public long bundle
The id of the bundle associated with the bundle revision.

See Also:
BundleReference.getBundle()
Constructor Detail

BundleRevisionDTO

public BundleRevisionDTO()

OSGi™ Core
Release 6

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