org.eclipse.mat.inspections.osgi.model
Class EquinoxBundleReader

java.lang.Object
  extended by org.eclipse.mat.inspections.osgi.model.EquinoxBundleReader
All Implemented Interfaces:
IBundleReader

public class EquinoxBundleReader
extends java.lang.Object
implements IBundleReader


Constructor Summary
EquinoxBundleReader(ISnapshot snapshot)
           
 
Method Summary
 Bundle getBundle(BundleDescriptor descriptor)
          Load the bundle by its descriptor
 OSGiModel readOSGiModel(IProgressListener listener)
          get a model describing the OSGi framework
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EquinoxBundleReader

public EquinoxBundleReader(ISnapshot snapshot)
Method Detail

readOSGiModel

public OSGiModel readOSGiModel(IProgressListener listener)
                        throws SnapshotException
Description copied from interface: IBundleReader
get a model describing the OSGi framework

Specified by:
readOSGiModel in interface IBundleReader
Returns:
OSGi model
Throws:
SnapshotException

getBundle

public Bundle getBundle(BundleDescriptor descriptor)
                 throws SnapshotException
Description copied from interface: IBundleReader
Load the bundle by its descriptor

Specified by:
getBundle in interface IBundleReader
Returns:
Bundle, which contains full information (dependencies, dependents, services, extension points, extensions)
Throws:
SnapshotException