Class OSGiModel
java.lang.Object
org.eclipse.mat.inspections.osgi.model.OSGiModel
-
Constructor Summary
ConstructorDescriptionOSGiModel
(IBundleReader bundleReader, List<BundleDescriptor> bundleDescriptors, List<Service> services, List<ExtensionPoint> extensionPoints) -
Method Summary
Modifier and TypeMethodDescriptiongetBundle
(BundleDescriptor descriptor) Get bundle by its descriptorGet descriptors of all the bundles, found in BundleRepositoryGet all the extension points found in ExtensionRegistryGet all the services found in ServiceRegistry
-
Constructor Details
-
OSGiModel
public OSGiModel(IBundleReader bundleReader, List<BundleDescriptor> bundleDescriptors, List<Service> services, List<ExtensionPoint> extensionPoints)
-
-
Method Details
-
getBundleDescriptors
Get descriptors of all the bundles, found in BundleRepository- Returns:
- List<BundleDescriptor> list of objects, describing the bundle
-
getBundle
Get bundle by its descriptor- Parameters:
descriptor
-- Returns:
- Bundle
- Throws:
SnapshotException
-
getServices
Get all the services found in ServiceRegistry- Returns:
- List<Service> list of services
-
getExtensionPoints
Get all the extension points found in ExtensionRegistry- Returns:
- List<ExtensionPoint> list of extension points
-