C D E G I O R S 

C

Component - Interface in org.apache.felix.scr
The Component interface represents a single component managed by the Service Component Runtime.

D

disable() - Method in interface org.apache.felix.scr.Component
Disables this Component if it is enabled.

E

enable() - Method in interface org.apache.felix.scr.Component
Enables this Component if it is disabled.
ExtComponentContext - Interface in org.apache.felix.scr.component
The ExtComponentContext is a custom extension of the standard ComponentContext allowing to update the service registration properties of a component registered as a service.

G

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.
getBoundServiceReferences() - Method in interface org.apache.felix.scr.Reference
 
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.
getConfigurationPid() - Method in interface org.apache.felix.scr.Component
Returns the configuration pid declared in the component descriptor.
getConfigurationPolicy() - Method in interface org.apache.felix.scr.Component
Returns 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.

I

isActivateDeclared() - Method in interface org.apache.felix.scr.Component
Returns true if the name of the method to be called on component activation (see getActivate() is declared in the component descriptor or not.
isConfigurationPidDeclared() - Method in interface org.apache.felix.scr.Component
Returns whether the configuration-pid has been declared in the descriptor or not.
isDeactivateDeclared() - Method in interface org.apache.felix.scr.Component
Returns true if the name of the method to be called on component deactivation (see getDeactivate() is declared in the component descriptor or not.
isDefaultEnabled() - Method in interface org.apache.felix.scr.Component
Returns whether the Component is declared to be enabled initially.
isImmediate() - Method in interface org.apache.felix.scr.Component
Returns whether the Component is an Immediate or a Delayed Component.
isMultiple() - Method in interface org.apache.felix.scr.Reference
Returns whether this reference is multiple.
isOptional() - Method in interface org.apache.felix.scr.Reference
Returns whether this reference is optional.
isReluctant() - Method in interface org.apache.felix.scr.Reference
Returns true if the reference is defined with reluctant policy option.
isSatisfied() - Method in interface org.apache.felix.scr.Reference
Returns whether this reference is satisified.
isServiceFactory() - Method in interface org.apache.felix.scr.Component
Returns true if this component is a service factory.
isStatic() - Method in interface org.apache.felix.scr.Reference
Returns true if the reference is defined with static policy.

O

org.apache.felix.scr - package org.apache.felix.scr
 
org.apache.felix.scr.component - package org.apache.felix.scr.component
 

R

Reference - Interface in org.apache.felix.scr
The Reference interface represents a single reference (or dependency) to a service used by a Component.

S

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.
setServiceProperties(Dictionary) - Method in interface org.apache.felix.scr.component.ExtComponentContext
Sets the service registration properties of the component registered as a service.
STATE_ACTIVATING - Static variable in interface org.apache.felix.scr.Component
Deprecated.
since 1.8.0 transient states are no longer used
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
Deprecated.
since 1.8.0 transient states are no longer used
STATE_DESTROYED - Static variable in interface org.apache.felix.scr.Component
Deprecated.
as of version 1.2 this constant has been renamed to STATE_DISPOSED.
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
Deprecated.
since 1.8.0 transient states are no longer used
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
Deprecated.
since 1.8.0 transient states are no longer used
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
Deprecated.
since 1.8.0
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).
C D E G I O R S 

Copyright © 2006–2013 The Apache Software Foundation. All rights reserved.