- getBundleContext() - Method in interface org.osgi.service.component.ComponentContext
-
Returns the BundleContext of the bundle which declares this
component.
- getCause() - Method in exception org.osgi.service.component.ComponentException
-
Returns the cause of this exception or null if no cause was set.
- getComponentConfigurationDTOs(ComponentDescriptionDTO) - Method in interface org.osgi.service.component.runtime.ServiceComponentRuntime
-
Returns the component configurations for the specified component
description.
- getComponentDescriptionDTO(Bundle, String) - Method in interface org.osgi.service.component.runtime.ServiceComponentRuntime
-
- getComponentDescriptionDTOs(Bundle...) - Method in interface org.osgi.service.component.runtime.ServiceComponentRuntime
-
Returns the component descriptions declared by the specified active
bundles.
- getComponentInstance() - Method in interface org.osgi.service.component.ComponentContext
-
Returns the Component Instance object for the component instance
associated with this Component Context.
- getInstance() - Method in interface org.osgi.service.component.ComponentInstance
-
Returns the component instance of the activated component configuration.
- getProperties() - Method in interface org.osgi.service.component.ComponentContext
-
Returns the component properties for this Component Context.
- getService() - Method in interface org.osgi.service.component.ComponentServiceObjects
-
Returns a service object for the
associated service.
- getServiceReference() - Method in interface org.osgi.service.component.ComponentContext
-
If the component instance is registered as a service using the
service element, then this method returns the service reference
of the service provided by this component instance.
- getServiceReference() - Method in interface org.osgi.service.component.ComponentServiceObjects
-
Returns the ServiceReference for the service associated with this
ComponentServiceObjects object.
- getUsingBundle() - Method in interface org.osgi.service.component.ComponentContext
-
If the component instance is registered as a service using the
servicescope="bundle" or servicescope="prototype"
attribute, then this method returns the bundle using the service provided
by the component instance.