- getActivate() - Method in interface org.apache.felix.scr.Component
-
Returns the name of the method to be called when the component is being
activated.
- getBindMethodName() - Method in interface org.apache.felix.scr.Reference
-
Returns the name of the method called if a service is being bound to
the Component or null
if no such method is configued.
- getBundle() - Method in interface org.apache.felix.scr.Component
-
Returns the Bundle
declaring this component.
- getClassName() - Method in interface org.apache.felix.scr.Component
-
Returns the class name of the Component implementation.
- getComponent(long) - Method in interface org.apache.felix.scr.ScrService
-
Returns the component whose component.id matches the given
componentId
or null
if no component with the
given id is currently managed.
- getComponentInstance() - Method in interface org.apache.felix.scr.Component
-
Returns the org.osgi.service.component.ComponentInstance
representing this component or null
if this component
is not been activated yet.
- getComponents() - Method in interface org.apache.felix.scr.ScrService
-
Returns an array of all components managed by this SCR instance.
- getComponents(String) - Method in interface org.apache.felix.scr.ScrService
-
Returns the components whose component.name
matches the
given componentName
or null
if no component
with the given name is currently managed.
- getComponents(Bundle) - Method in interface org.apache.felix.scr.ScrService
-
Reuturns an array of all components managed by this SCR instance on
behalf of the given bundle.
- getConfigurationPolicy() - Method in interface org.apache.felix.scr.Component
-
Reuturns the configuration policy declared in the component descriptor.
- getDeactivate() - Method in interface org.apache.felix.scr.Component
-
Returns the name of the method to be called when the component is being
deactivated.
- getFactory() - Method in interface org.apache.felix.scr.Component
-
Returns the component factory name or null
if this component
is not defined as a component factory.
- getId() - Method in interface org.apache.felix.scr.Component
-
Returns the component ID of this component.
- getModified() - Method in interface org.apache.felix.scr.Component
-
Returns the name of the method to be called when the component
configuration has been updated or null
if such a method is
not declared in the component descriptor.
- getName() - Method in interface org.apache.felix.scr.Component
-
Returns the name of the component, which is also used as the service PID.
- getName() - Method in interface org.apache.felix.scr.Reference
-
Returns the name of this Reference.
- getProperties() - Method in interface org.apache.felix.scr.Component
-
Returns the properties of the Component.
- getReferences() - Method in interface org.apache.felix.scr.Component
-
Returns an array of
Reference
instances representing the service
references (or dependencies) of this Component.
- getServiceName() - Method in interface org.apache.felix.scr.Reference
-
Returns the name of the service used by this Reference.
- getServiceReferences() - Method in interface org.apache.felix.scr.Reference
-
Returns an array of references to the services bound to this Reference
or null
if no services are currently bound.
- getServices() - Method in interface org.apache.felix.scr.Component
-
Returns an array of service names provided by this Component or
null
if the Component is not registered as a service.
- getState() - Method in interface org.apache.felix.scr.Component
-
Returns the current state of the Component, which is one of the
STATE_*
constants defined in this interface.
- getTarget() - Method in interface org.apache.felix.scr.Reference
-
Returns the value of the target property of this reference.
- getUnbindMethodName() - Method in interface org.apache.felix.scr.Reference
-
Returns the name of the method called if a service is being unbound from
the Component or null
if no such method is configued.
- getUpdatedMethodName() - Method in interface org.apache.felix.scr.Reference
-
Returns the name of the method called if a bound service updates its
service registration properties or null
if no such method
is configued.
- ScrService - Interface in org.apache.felix.scr
-
The ScrService
represents the Declarative Services main
controller also known as the Service Component Runtime or SCR for short.
- STATE_ACTIVATING - Static variable in interface org.apache.felix.scr.Component
-
The Component is currently being activated either because it has been
enabled or because any dependency which was previously unsatisfied has
become satisfied (value is 8).
- STATE_ACTIVE - Static variable in interface org.apache.felix.scr.Component
-
The Component has successfully been activated and is fully functional
(value is 16).
- STATE_DEACTIVATING - Static variable in interface org.apache.felix.scr.Component
-
The Component is being deactivated either because it is being disabled
or because a dependency is not satisfied any more (value is 128).
- STATE_DESTROYED - Static variable in interface org.apache.felix.scr.Component
-
- STATE_DISABLED - Static variable in interface org.apache.felix.scr.Component
-
The Component has just been created and is still disabled or it has
been disabled by calling the
disable()
method (value is 1).
- STATE_DISABLING - Static variable in interface org.apache.felix.scr.Component
-
The Component is being disabled (value is 1024).
- STATE_DISPOSED - Static variable in interface org.apache.felix.scr.Component
-
The Component has been disposed off and cannot be used any more (value is
256).
- STATE_DISPOSING - Static variable in interface org.apache.felix.scr.Component
-
The Component is being disposed off (value is 2048).
- STATE_ENABLED - Static variable in interface org.apache.felix.scr.Component
-
Deprecated.
as of version 1.2 the enabled state is collapsed into the
STATE_UNSATISFIED
state. This status code is never returned
from the getState()
method.
- STATE_ENABLING - Static variable in interface org.apache.felix.scr.Component
-
The Component is being enabled (value is 512).
- STATE_FACTORY - Static variable in interface org.apache.felix.scr.Component
-
The Component is a Component Factory ready to create Component instances
with the ComponentFactory.newInstance(Dictionary)
method
or (if enabled with the ds.factory.enabled
configuration) to
manage Component instances from configuration data received from the
Configuration Admin Service (value is 64).
- STATE_REGISTERED - Static variable in interface org.apache.felix.scr.Component
-
The Component has successfully been activated but is a Delayed or Service
Factory Component pending instantiation on first use (value is 32).
- STATE_UNSATISFIED - Static variable in interface org.apache.felix.scr.Component
-
The Component activation failed because any dependency is not satisfied
(value is 4).