OSGi™ Core
Release 5

org.osgi.framework
Interface BundleReference

All Known Subinterfaces:
BundleContext, BundleRevision, BundleRevisions, BundleStartLevel, BundleWiring, FrameworkStartLevel, FrameworkWiring

public interface BundleReference

A reference to a Bundle.

Since:
1.5
ThreadSafe
Consumers of this API must not implement this interface

Method Summary
 Bundle getBundle()
          Returns the Bundle object associated with this BundleReference.
 

Method Detail

getBundle

Bundle getBundle()
Returns the Bundle object associated with this BundleReference.

Returns:
The Bundle object associated with this BundleReference.

OSGi™ Core
Release 5

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