Class Service
java.lang.Object
org.eclipse.mat.inspections.osgi.model.Service
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionService
(String name, int objectId, BundleDescriptor bundleDescriptor, List<BundleDescriptor> bundlesUsing, String[] keys, String[] values) -
Method Summary
Modifier and TypeMethodDescriptionGet bundle descriptor of a bundle, that registers this serviceGet bundle descriptors for all the bundles, using this servicegetName()
Get service's symbolic nameint
Get objectId of this serviceGet service's properties
-
Constructor Details
-
Service
public Service(String name, int objectId, BundleDescriptor bundleDescriptor, List<BundleDescriptor> bundlesUsing, String[] keys, String[] values)
-
-
Method Details
-
getBundleDescriptor
Get bundle descriptor of a bundle, that registers this service- Returns:
- BundleDescriptor
-
getBundlesUsing
Get bundle descriptors for all the bundles, using this service- Returns:
- List<BundleDescriptor> list of descriptors of the bundles, using this service
-
getObjectId
public int getObjectId()Get objectId of this service- Returns:
- int objectId
-
getName
Get service's symbolic name- Returns:
- String name
-
getProperties
Get service's properties- Returns:
- List<ServiceProperty> properties, key-value pairs
-