public class OSGiModel extends Object
Constructor and Description |
---|
OSGiModel(IBundleReader bundleReader,
List<BundleDescriptor> bundleDescriptors,
List<Service> services,
List<ExtensionPoint> extensionPoints) |
Modifier and Type | Method and Description |
---|---|
Bundle |
getBundle(BundleDescriptor descriptor)
Get bundle by its descriptor
|
List<BundleDescriptor> |
getBundleDescriptors()
Get descriptors of all the bundles, found in BundleRepository
|
List<ExtensionPoint> |
getExtensionPoints()
Get all the extension points found in ExtensionRegistry
|
List<Service> |
getServices()
Get all the services found in ServiceRegistry
|
public OSGiModel(IBundleReader bundleReader, List<BundleDescriptor> bundleDescriptors, List<Service> services, List<ExtensionPoint> extensionPoints)
public List<BundleDescriptor> getBundleDescriptors()
public Bundle getBundle(BundleDescriptor descriptor) throws SnapshotException
descriptor
- SnapshotException
public List<Service> getServices()
public List<ExtensionPoint> getExtensionPoints()