- changed(Component, ComponentState) - Method in interface org.apache.felix.dm.ComponentStateListener
-
Called on each component state change.
- changed(URL) - Method in interface org.apache.felix.dm.ResourceHandler
-
- changed(URL, Dictionary<?, ?>) - Method in interface org.apache.felix.dm.ResourceHandler
-
Invoked whenever an existing resource changes.
- CircularDependency - Class in org.apache.felix.dm.diagnostics
-
- CircularDependency() - Constructor for class org.apache.felix.dm.diagnostics.CircularDependency
-
- clear() - Method in class org.apache.felix.dm.DependencyManager
-
Removes all components and their dependencies.
- close() - Method in class org.apache.felix.dm.context.Event
-
Release the resources this event is holding (like service reference for example).
- close() - Method in interface org.apache.felix.dm.FilterIndex
-
Closes this filter index.
- close() - Method in class org.apache.felix.dm.tracker.BundleTracker
-
Close this BundleTracker
.
- close() - Method in class org.apache.felix.dm.tracker.ServiceTracker
-
Close this ServiceTracker
.
- compareTo(Event) - Method in class org.apache.felix.dm.context.Event
-
- Component<T extends Component<T>> - Interface in org.apache.felix.dm
-
Component interface.
- Component.ServiceScope - Enum in org.apache.felix.dm
-
Component service scopes
- ComponentContext<T extends Component<T>> - Interface in org.apache.felix.dm.context
-
This interface is the entry point to the Component implementation context.
- ComponentDeclaration - Interface in org.apache.felix.dm
-
Describes a component.
- ComponentDependencyDeclaration - Interface in org.apache.felix.dm
-
Describes a component dependency.
- ComponentExecutorFactory - Interface in org.apache.felix.dm
-
A ComponentExecutorFactory
service can be registered by any management agent bundle
in order to enable parallel activation of Components.
- ComponentState - Enum in org.apache.felix.dm
-
Component states.
- ComponentStateListener - Interface in org.apache.felix.dm
-
This interface can be used to register a component state listener.
- ConfigurationDependency - Interface in org.apache.felix.dm
-
Configuration dependency that can track the availability of a (valid) configuration.
- context - Variable in class org.apache.felix.dm.tracker.BundleTracker
-
The Bundle Context used by this BundleTracker
.
- context - Variable in class org.apache.felix.dm.tracker.ServiceTracker
-
The Bundle Context used by this ServiceTracker
.
- copyToCollection(Collection<Object>) - Method in class org.apache.felix.dm.context.AbstractDependency
-
Copy all dependency service instances to the given collection.
- copyToCollection(Collection<Object>) - Method in interface org.apache.felix.dm.context.DependencyContext
-
Copies all the dependency service instances to the given collection.
- copyToMap(Map<Object, Dictionary<?, ?>>) - Method in class org.apache.felix.dm.context.AbstractDependency
-
Copy all dependency service instances to the given map (key = dependency service, value = dependency service properties.
- copyToMap(Map<Object, Dictionary<?, ?>>) - Method in interface org.apache.felix.dm.context.DependencyContext
-
Copies all the dependency service instances to the given map (key = dependency service, value = dependency servie properties).
- createAdapterComponent() - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
Creates a new adapter component.
- createAdapterComponent() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new adapter service.
- createAdapterComponent() - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new adapter component.
- createAdapterFactoryConfigurationService(String, String, boolean, String, String, String, PropertyMetaData[]) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createAdapterService(Class<?>, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createAdapterService(Class<?>, String, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createAdapterService(Class<?>, String, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createAdapterService(Class<?>, String, String, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createAdapterService(Class<?>, String, String, Object, String, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createAdapterService(Class<?>, String, String, Object, String, String, String, String, boolean) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createAdapterService(Class<?>, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createAdapterService(Class<?>, String, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createAdapterService(Class<?>, String, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createAdapterService(Class<?>, String, String, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createAdapterService(Class<?>, String, String, Object, String, String, String, String, boolean) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createAspectComponent() - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
Creates a new aspect component.
- createAspectComponent() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new aspect component.
- createAspectComponent() - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new aspect component.
- createAspectService(Class<?>, String, int, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createAspectService(Class<?>, String, int) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createAspectService(Class<?>, String, int, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createAspectService(Class<?>, String, int, String, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createAspectService(Class<?>, String, int, Object, String, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createAspectService(Class<?>, String, int, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createAspectService(Class<?>, String, int) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createAspectService(Class<?>, String, int, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createAspectService(Class<?>, String, int, String, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createAspectService(Class<?>, String, int, Object, String, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createBundleAdapterService(int, String, boolean) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createBundleAdapterService(int, String, boolean, Object, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createBundleAdapterService(int, String, boolean) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createBundleAdapterService(int, String, boolean, Object, String, String, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createBundleComponent() - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
Creates a new bundle adapter.
- createBundleComponent() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new bundle adapter component.
- createBundleComponent() - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new bundle adapter.
- createBundleDependency() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new bundle dependency.
- createBundleDependency() - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new bundle dependency.
- createComponent() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new component.
- createComponent() - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new component.
- createConfigurationDependency() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new configuration dependency.
- createConfigurationDependency() - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new configuration dependency.
- createConfigurationType(Class<U>, Dictionary<?, ?>) - Method in interface org.apache.felix.dm.context.ComponentContext
-
Creates a configuration for a given type backed by a given dictionary.
- createCopy() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Creates a copy of this Dependency.
- createCopy() - Method in interface org.apache.felix.dm.context.DependencyContext
-
Creates a clone of this dependency.
- createFactoryComponent() - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
Creates a new Factory Component.
- createFactoryComponent() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new factory configuration component.
- createFactoryComponent() - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new Factory Component.
- createFactoryConfigurationAdapterService(String, String, boolean) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createFactoryConfigurationAdapterService(String, String, boolean, Object) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createFactoryConfigurationAdapterService(String, String, boolean, Class<?>) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createFactoryConfigurationAdapterService(String, String, boolean, Object, Class<?>) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createFactoryConfigurationAdapterService(String, String, boolean, String, String, String, PropertyMetaData[]) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createFactoryConfigurationAdapterService(String, String, boolean) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createFactoryConfigurationAdapterService(String, String, boolean, Object) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createFactoryConfigurationAdapterService(String, String, boolean, Class<?>) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createFactoryConfigurationAdapterService(String, String, boolean, Object, Class<?>) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createProperties(URL) - Static method in class org.apache.felix.dm.ResourceUtil
-
Creates a set of properties for a resource based on its URL.
- createPropertyMetaData() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new configuration property metadata.
- createPropertyMetaData() - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new configuration property metadata.
- createResourceAdapter(String, boolean, Object, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createResourceAdapter(String, boolean, Object, String, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createResourceAdapter(String, Object, String, Object, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createResourceAdapter(String, Object, String, Object, String, String) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- createResourceAdapterService(String, boolean, Object, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createResourceAdapterService(String, boolean, Object, String, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createResourceAdapterService(String, Object, String, Object, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createResourceAdapterService(String, Object, String, Object, String, String) - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
- createResourceComponent() - Method in class org.apache.felix.dm.compat.DependencyManagerCompat
-
Creates a new resource adapter component.
- createResourceComponent() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new resource adapter component.
- createResourceComponent() - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new resource adapter component.
- createResourceDependency() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new resource dependency.
- createResourceDependency() - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new resource dependency.
- createServiceDependency() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new service dependency.
- createServiceDependency() - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new service dependency.
- createTemporalServiceDependency(long) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new temporal service dependency.
- createTemporalServiceDependency(long) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new timed required service dependency.
- getActions() - Method in class org.apache.felix.dm.tracker.AbstractCustomizerActionSet
-
- getAllComponents() - Method in class org.apache.felix.dm.diagnostics.DependencyGraph
-
Returns the list of components in the graph
- getAllDependencies() - Method in class org.apache.felix.dm.diagnostics.DependencyGraph
-
Returns a list all dependencies in the graph
- getAllServiceReferences(String, String) - Method in interface org.apache.felix.dm.FilterIndex
-
Returns all service references that match the specified class and filter.
- getAutoConfig(Class<?>) - Method in interface org.apache.felix.dm.context.ComponentContext
-
Indicates if an object of the given class can be injected in one field of the component
- getAutoConfigInstance(Class<?>) - Method in interface org.apache.felix.dm.context.ComponentContext
-
Returns the component instance field that is assignable to a given class type
- getAutoConfigName() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Returns the field name when the dependency can be injected to.
- getAutoConfigName() - Method in interface org.apache.felix.dm.Dependency
-
Returns the name of the member in the class of the component instance
to inject into.
- getAutoConfigType() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Returns the type of the field where this dependency can be injected (auto config), or return null
if autoconfig is not supported.
- getAutoConfigType() - Method in interface org.apache.felix.dm.context.DependencyContext
-
Returns the type of the field which can be injected with the dependency service.
- getBundle() - Method in interface org.apache.felix.dm.context.ComponentContext
-
Returns the Compoent's bundle.
- getBundleContext() - Method in interface org.apache.felix.dm.ComponentDeclaration
-
Returns the bundle context associated with this component.
- getBundleContext() - Method in interface org.apache.felix.dm.context.ComponentContext
-
Returns the Component's bundle context
- getBundleContext() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Returns the bundle context that is associated with this bundle.
- getBundleContext() - Method in class org.apache.felix.dm.DependencyManager
-
Returns the bundle context associated with this dependency manager.
- getBundleName() - Method in class org.apache.felix.dm.diagnostics.MissingDependency
-
- getBundles() - Method in class org.apache.felix.dm.tracker.BundleTracker
-
Return an array of Bundle
s for all bundles being tracked by
this BundleTracker
.
- getCallbacksTime() - Method in interface org.apache.felix.dm.ComponentDeclaration
-
Returns the execution time in nanos for each component callbacks (init/start/stop/destroy)
- getCircularDependencies() - Method in class org.apache.felix.dm.diagnostics.DependencyGraph
-
Returns the list of circular dependencies in the graph
- getClassName() - Method in interface org.apache.felix.dm.ComponentDeclaration
-
Returns the class name of the Component implementation.
- getComponentContext() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Returns the component implementation context
- getComponentContext() - Method in interface org.apache.felix.dm.context.DependencyContext
-
Returns the Component implementation context associated to this Dependency context.
- getComponentDeclaration() - Method in interface org.apache.felix.dm.AbstractComponent
-
Returns the component description (dependencies, service provided, etc ...).
- getComponentDependencies() - Method in interface org.apache.felix.dm.ComponentDeclaration
-
Returns a list of dependencies associated with this component.
- getComponents() - Method in class org.apache.felix.dm.DependencyManager
-
Returns a list of components.
- getComponents() - Method in class org.apache.felix.dm.diagnostics.CircularDependency
-
- getDebugKey() - Method in class org.apache.felix.dm.Logger
-
- getDefaultService(boolean) - Method in class org.apache.felix.dm.context.AbstractDependency
-
Returns the default service, or null.
- getDependecies(ComponentDeclaration) - Method in class org.apache.felix.dm.diagnostics.DependencyGraph
-
For a given component declaration, it returns a list of its dependencies in the state
specified when the graph was built.
- getDependencies() - Method in interface org.apache.felix.dm.context.ComponentContext
-
Returns the list of dependencies that has been registered on this component
- getDependencyEvent(DependencyContext) - Method in interface org.apache.felix.dm.context.ComponentContext
-
Returns the highest ranked dependency service instance for a given dependency
- getDependencyEvents(DependencyContext) - Method in interface org.apache.felix.dm.context.ComponentContext
-
Returns all the available dependency services for a given dependency
- getDependencyManager() - Method in interface org.apache.felix.dm.AbstractComponent
-
Returns the dependency manager associated with this component.
- getDependencyManager() - Method in interface org.apache.felix.dm.ComponentDeclaration
-
Returns the dependency manager for this component
- getDependencyManager() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Returns the dependency manager that is associated with this bundle.
- getDependencyManagers() - Static method in class org.apache.felix.dm.DependencyManager
-
Returns the list of currently created dependency managers.
- getEvent() - Method in class org.apache.felix.dm.context.Event
-
Returns the actual event object wrapped by this event (a Service Dependency, a Bundle for Bundle Dependency, etc...).
- getExecutor() - Method in interface org.apache.felix.dm.context.ComponentContext
-
Returns the Component Executor gate that can be used to ensure proper component event serialization.
- getExecutorFor(Component) - Method in interface org.apache.felix.dm.ComponentExecutorFactory
-
Returns an Executor (typically a shared thread pool) used to manage a given DependencyManager Component.
- getFilter() - Method in interface org.apache.felix.dm.ComponentDependencyDeclaration
-
Returns the Dependency filter or null
- getFilter() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Returns the dependency filter, if any.
- getGraph(DependencyGraph.ComponentState, DependencyGraph.DependencyState) - Static method in class org.apache.felix.dm.diagnostics.DependencyGraph
-
Build the dependency graph.
- getId() - Method in interface org.apache.felix.dm.ComponentDeclaration
-
Returns the instance id of this component.
- getInstance() - Method in interface org.apache.felix.dm.AbstractComponent
-
Returns the instance that make up this component.
- getInstances() - Method in interface org.apache.felix.dm.AbstractComponent
-
Returns the composition instances that make up this component, or just the
component instance if it does not have a composition, or an empty array if
the component has not even been instantiated.
- getInstances() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Returns the dependency callback instances
- getInstances() - Method in interface org.apache.felix.dm.context.ComponentContext
-
Returns the component instances
- getLogger() - Method in interface org.apache.felix.dm.context.ComponentContext
-
Returns the logger which can be used by the DependencyManager Dependencies implementations.
- getLogger() - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Returns the logger that is associated with this bundle.
- getLogger() - Method in class org.apache.felix.dm.DependencyManager
-
- getMissingCustomDependencies() - Method in class org.apache.felix.dm.diagnostics.DependencyGraph
-
Returns all custom missing dependencies.
- getMissingDependencies(String) - Method in class org.apache.felix.dm.diagnostics.DependencyGraph
-
Returns all the missing dependencies of a given type.
- getName() - Method in interface org.apache.felix.dm.ComponentDeclaration
-
Returns the description of this component (the classname or the provided service(s))
- getName() - Method in interface org.apache.felix.dm.ComponentDependencyDeclaration
-
Returns the name of this dependency (a generic name with optional info separated by spaces)
- getName() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Returns a description of this dependency (like the dependency service class name with associated filters)
- getName() - Method in class org.apache.felix.dm.diagnostics.MissingDependency
-
- getObject(Bundle) - Method in class org.apache.felix.dm.tracker.BundleTracker
-
Returns the customized object for the specified Bundle
if
the specified bundle is being tracked by this BundleTracker
.
- getProperties() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Returns the dependency service properties (empty by default).
- getProperties() - Method in class org.apache.felix.dm.context.Event
-
Returns the properties of the actual event object wrapped by this event (Service Dependency properties, ...).
- getProperties() - Method in interface org.apache.felix.dm.Dependency
-
Returns the properties associated with this dependency.
- getProviders(ComponentDependencyDeclaration) - Method in class org.apache.felix.dm.diagnostics.DependencyGraph
-
Returns the list of components that provide the given dependency.
- getService() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Get the highest ranked available dependency service, or null.
- getService() - Method in interface org.apache.felix.dm.context.DependencyContext
-
Returns the highest ranked available dependency service instance, or null if the dependency is unavailable.
- getService(ServiceReference) - Method in class org.apache.felix.dm.tracker.ServiceTracker
-
Returns the service object for the specified
ServiceReference
if the specified referenced service is
being tracked by this ServiceTracker
.
- getService() - Method in class org.apache.felix.dm.tracker.ServiceTracker
-
Returns a service object for one of the services being tracked by this
ServiceTracker
.
- getServiceProperties() - Method in interface org.apache.felix.dm.AbstractComponent
-
Returns the component service properties.
- getServiceProperties() - Method in interface org.apache.felix.dm.ComponentDeclaration
-
Returns the service properties, or null
- getServiceReference() - Method in class org.apache.felix.dm.tracker.ServiceTracker
-
Returns a ServiceReference
for one of the services being
tracked by this ServiceTracker
.
- getServiceReferences() - Method in class org.apache.felix.dm.tracker.ServiceTracker
-
Return an array of ServiceReference
s for all services being
tracked by this ServiceTracker
.
- getServiceRegistration() - Method in interface org.apache.felix.dm.Component
-
Returns the service registration for this component.
- getServices() - Method in interface org.apache.felix.dm.ComponentDeclaration
-
Returns the service optionally provided by this component, or null
- getServices() - Method in class org.apache.felix.dm.tracker.ServiceTracker
-
Return an array of service objects for all services being tracked by this
ServiceTracker
.
- getSimpleName() - Method in interface org.apache.felix.dm.ComponentDependencyDeclaration
-
Returns the simple dependency name (service classname for example)
- getSimpleName() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Returns a simple name for this dependency (like the dependency service class name).
- getState() - Method in interface org.apache.felix.dm.ComponentDeclaration
-
Returns the state of this component.
- getState() - Method in interface org.apache.felix.dm.ComponentDependencyDeclaration
-
Returns the state of this dependency.
- getState() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Returns this dependency state.
- getTrackingCount() - Method in class org.apache.felix.dm.tracker.BundleTracker
-
Returns the tracking count for this BundleTracker
.
- getTrackingCount() - Method in class org.apache.felix.dm.tracker.ServiceTracker
-
Returns the tracking count for this ServiceTracker
.
- getType() - Method in interface org.apache.felix.dm.ComponentDependencyDeclaration
-
Returns the name of the type of this dependency.
- getType() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Returns the dependency symbolic type.
- getType() - Method in class org.apache.felix.dm.diagnostics.MissingDependency
-
- serviceChanged(ServiceEvent) - Method in interface org.apache.felix.dm.FilterIndex
-
Invoked whenever a service event occurs.
- serviceChanged(ServiceEvent) - Method in class org.apache.felix.dm.Logger
-
This method implements the callback for the ServiceListener interface.
- ServiceDependency - Interface in org.apache.felix.dm
-
Service dependency that can track an OSGi service.
- SERVICEREGISTRY_CACHE_INDICES - Static variable in class org.apache.felix.dm.DependencyManager
-
- ServiceTracker - Class in org.apache.felix.dm.tracker
-
The ServiceTracker
class simplifies using services from the
Framework's service registry.
- ServiceTracker(BundleContext, ServiceReference, ServiceTrackerCustomizer) - Constructor for class org.apache.felix.dm.tracker.ServiceTracker
-
Create a ServiceTracker
on the specified
ServiceReference
.
- ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) - Constructor for class org.apache.felix.dm.tracker.ServiceTracker
-
Create a ServiceTracker
on the specified class name.
- ServiceTracker(BundleContext, Filter, ServiceTrackerCustomizer) - Constructor for class org.apache.felix.dm.tracker.ServiceTracker
-
Create a ServiceTracker
on the specified Filter
object.
- ServiceTrackerCustomizer - Interface in org.apache.felix.dm.tracker
-
The ServiceTrackerCustomizer
interface allows a
ServiceTracker
to customize the service objects that are
tracked.
- setAdaptee(Class<?>, String) - Method in interface org.apache.felix.dm.AdapterComponent
-
Sets the service interface to apply the adapter to
- setAdapteeCallbackInstance(Object) - Method in interface org.apache.felix.dm.AdapterComponent
-
Sets the instance to invoke the callbacks on (null by default, meaning the callbacks have to be invoked on the adapter itself)
- setAdapteeCallbacks(String, String, String, String) - Method in interface org.apache.felix.dm.AdapterComponent
-
Sets the callbacks to invoke when injecting the adaptee service into the adapter component.
- setAdapteeField(String) - Method in interface org.apache.felix.dm.AdapterComponent
-
Sets the name of the member to inject the service into
- setAspect(Class<?>, String, int) - Method in interface org.apache.felix.dm.AspectComponent
-
Sets the service interface to apply the aspect to (required parameter)
- setAspectCallbackInstance(Object) - Method in interface org.apache.felix.dm.AspectComponent
-
Sets the instance to invoke the callbacks on (optional parameter).
- setAspectCallbacks(String, String, String, String) - Method in interface org.apache.felix.dm.AspectComponent
-
Sets name of the callbacks method to invoke on add,change,remove, or swap callbacks (optional parameter).
- setAspectField(String) - Method in interface org.apache.felix.dm.AspectComponent
-
Sets the aspect implementation field name where to inject original service (optional parameter).
- setAutoConfig(boolean) - Method in interface org.apache.felix.dm.BundleDependency
-
Enables auto configuration for this dependency.
- setAutoConfig(Class<?>, boolean) - Method in interface org.apache.felix.dm.Component
-
Configures auto configuration of injected classes in the component instance.
- setAutoConfig(Class<?>, String) - Method in interface org.apache.felix.dm.Component
-
Configures auto configuration of injected classes in the component instance.
- setAutoConfig(boolean) - Method in class org.apache.felix.dm.context.AbstractDependency
-
- setAutoConfig(String) - Method in class org.apache.felix.dm.context.AbstractDependency
-
- setAutoConfig(boolean) - Method in interface org.apache.felix.dm.ResourceDependency
-
Sets auto configuration for this service.
- setAutoConfig(String) - Method in interface org.apache.felix.dm.ResourceDependency
-
Sets auto configuration for this service.
- setAutoConfig(boolean) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets auto configuration for this service.
- setAutoConfig(String) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets auto configuration for this service.
- setAvailable(boolean) - Method in class org.apache.felix.dm.context.AbstractDependency
-
Called by the Component implementation when the dependency is considered to be available.
- setAvailable(boolean) - Method in interface org.apache.felix.dm.context.DependencyContext
-
Sets this dependency as available, meaning that at least one dependency service is available.
- setBundle(Bundle) - Method in interface org.apache.felix.dm.BundleDependency
-
Sets the bundle to depend on directly.
- setBundleCallbackInstance(Object) - Method in interface org.apache.felix.dm.BundleComponent
-
Sets the instance to invoke the callbacks on (null by default, meaning the callbacks have to be invoked on the adapter itself)
- setBundleCallbackInstance(Object) - Method in interface org.apache.felix.dm.ResourceComponent
-
Sets the instance to invoke the callbacks on (null by default, meaning the callbacks have to be invoked on the resource adapter itself)
- setBundleCallbacks(String, String, String) - Method in interface org.apache.felix.dm.BundleComponent
-
Sets the callbacks to invoke when injecting the bundle into the adapter component.
- setBundleCallbacks(String, String) - Method in interface org.apache.felix.dm.ResourceComponent
-
Sets the callbacks to invoke when injecting the resource into the adapter component.
- setBundleFilter(int, String) - Method in interface org.apache.felix.dm.BundleComponent
-
Sets the bundle state mask and bundle manifest headers filter.
- setCallback(String) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
Sets the name of the callback method that should be invoked when a configuration
is available.
- setCallback(Object, String) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
Sets the name of the callback method that should be invoked when a configuration
is available.
- setCallback(Object, String, boolean) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
Sets the name of the callback method that should be invoked when a configuration
is available.
- setCallback(String, Class<?>) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
Sets the name of the callback method that should be invoked when a configuration
is available.
- setCallback(Object, String, Class<?>) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
Sets the name of the callback method that should be invoked when a configuration
is available.
- setCallback(Object, String, Class<?>, boolean) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
Sets the name of the callback method that should be invoked when a configuration
is available.
- setCallbacks(String, String) - Method in interface org.apache.felix.dm.BundleDependency
-
Sets the callbacks for this dependency.
- setCallbacks(String, String, String) - Method in interface org.apache.felix.dm.BundleDependency
-
Sets the callbacks for this dependency.
- setCallbacks(Object, String, String) - Method in interface org.apache.felix.dm.BundleDependency
-
Sets the callbacks for this dependency.
- setCallbacks(Object, String, String, String) - Method in interface org.apache.felix.dm.BundleDependency
-
Sets the callbacks for this dependency.
- setCallbacks(String, String, String, String) - Method in interface org.apache.felix.dm.Component
-
Sets the names of the methods used as callbacks.
- setCallbacks(Object, String, String, String, String) - Method in interface org.apache.felix.dm.Component
-
Sets the names of the methods used as callbacks.
- setCallbacks(String, String) - Method in class org.apache.felix.dm.context.AbstractDependency
-
Sets the add/remove callbacks.
- setCallbacks(String, String, String) - Method in class org.apache.felix.dm.context.AbstractDependency
-
Sets the add/change/remove callbacks.
- setCallbacks(Object, String, String) - Method in class org.apache.felix.dm.context.AbstractDependency
-
Sets the callbacks for this service.
- setCallbacks(Object, String, String, String) - Method in class org.apache.felix.dm.context.AbstractDependency
-
Sets the callbacks for this service.
- setCallbacks(String, String) - Method in interface org.apache.felix.dm.ResourceDependency
-
Sets the callbacks for this service.
- setCallbacks(String, String, String) - Method in interface org.apache.felix.dm.ResourceDependency
-
Sets the callbacks for this service.
- setCallbacks(Object, String, String) - Method in interface org.apache.felix.dm.ResourceDependency
-
Sets the callbacks for this service.
- setCallbacks(Object, String, String, String) - Method in interface org.apache.felix.dm.ResourceDependency
-
Sets the callbacks for this service.
- setCallbacks(String, String) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets the callbacks for this service.
- setCallbacks(String, String, String) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets the callbacks for this service.
- setCallbacks(String, String, String, String) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets the callbacks for this service.
- setCallbacks(Object, String, String) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets the callbacks for this service.
- setCallbacks(Object, String, String, String) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets the callbacks for this service.
- setCallbacks(Object, String, String, String, String) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets the callbacks for this service.
- setCardinality(int) - Method in interface org.apache.felix.dm.PropertyMetaData
-
Return the cardinality of this property.
- setComponentContext(ComponentContext) - Method in class org.apache.felix.dm.context.AbstractDependency
-
Called by the Component implementation before the Dependency can be started.
- setComponentContext(ComponentContext) - Method in interface org.apache.felix.dm.context.DependencyContext
-
Stores the Component implementation context in the Dependency Implementation.
- setComposition(Object, String) - Method in interface org.apache.felix.dm.Component
-
Sets the instance and method to invoke to get back all instances that
are part of a composition and need dependencies injected.
- setComposition(String) - Method in interface org.apache.felix.dm.Component
-
Sets the method to invoke on the service implementation to get back all
instances that are part of a composition and need dependencies injected.
- setConfigType(Class<?>...) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
Sets the configuration property type(s) that are passed to the updated callback parameters
- setConfigType(Class<?>...) - Method in interface org.apache.felix.dm.FactoryComponent
-
Sets the configuration type to use instead of a dictionary.
- setDebug(String) - Method in interface org.apache.felix.dm.Component
-
Activate debug for this component.
- setDebug(String) - Method in interface org.apache.felix.dm.ServiceDependency
-
Enabled debug logging for this dependency instance.
- setDebug(String) - Method in class org.apache.felix.dm.tracker.ServiceTracker
-
- setDebugKey(String) - Method in class org.apache.felix.dm.Logger
-
- setDefaultImplementation(Object) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets the default implementation for an optional
service dependency.
- setDefaults(String[]) - Method in interface org.apache.felix.dm.PropertyMetaData
-
Returns a default for this property.
- setDefaults(String, String...) - Method in interface org.apache.felix.dm.PropertyMetaData
-
Returns some defaults for this property.
- setDependencyManager(DependencyManager) - Method in class org.apache.felix.dm.compat.DependencyActivatorBaseCompat
-
- setDereference(boolean) - Method in interface org.apache.felix.dm.ServiceDependency
-
Configures whether or not this dependency should internally obtain the service object for all tracked service references.
- setDesc(String) - Method in interface org.apache.felix.dm.FactoryComponent
-
A metatype human readable description of the factory PID this configuration is associated with.
- setDescription(String) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
A human readable description of the PID this configuration is associated
with.
- setDescription(String) - Method in interface org.apache.felix.dm.PropertyMetaData
-
Returns the property description.
- setEnabledLevel(int) - Method in class org.apache.felix.dm.Logger
-
- setFactory(Object, String) - Method in interface org.apache.felix.dm.Component
-
Sets the factory to use to create the implementation.
- setFactory(String) - Method in interface org.apache.felix.dm.Component
-
Sets the factory to use to create the implementation.
- setFactoryPid(String) - Method in interface org.apache.felix.dm.FactoryComponent
-
Sets the pid matching the factory configuration
- setFactoryPid(Class<?>) - Method in interface org.apache.felix.dm.FactoryComponent
-
Sets the pid matching the factory configuration using the specified class.
- setFilter(String) - Method in interface org.apache.felix.dm.BundleDependency
-
Sets the filter condition to depend on.
- setFilter(String) - Method in interface org.apache.felix.dm.ResourceDependency
-
Sets the filter condition for this resource dependency.
- setHeading(String) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
The label used to display the tab name (or section) where the properties
are displayed.
- setHeading(String) - Method in interface org.apache.felix.dm.FactoryComponent
-
Sets the metatype label used to display the tab name (or section) where the properties are displayed.
- setHeading(String) - Method in interface org.apache.felix.dm.PropertyMetaData
-
The label used to display the property.
- setId(String) - Method in interface org.apache.felix.dm.PropertyMetaData
-
The key of a ConfigurationAdmin property.
- setImplementation(Object) - Method in interface org.apache.felix.dm.Component
-
Sets the implementation for this component.
- setInstanceBound(boolean) - Method in class org.apache.felix.dm.context.AbstractDependency
-
Called by the Component implementation when the dependency is declared within the Component's init method.
- setInstanceBound(boolean) - Method in interface org.apache.felix.dm.context.DependencyContext
-
Sets this dependency as "instance bound".
- setInterface(String, Dictionary<?, ?>) - Method in interface org.apache.felix.dm.Component
-
Sets the public interface under which this component should be registered
in the OSGi service registry.
- setInterface(String[], Dictionary<?, ?>) - Method in interface org.apache.felix.dm.Component
-
Sets the public interfaces under which this component should be registered
in the OSGi service registry.
- setInterface(Class<?>, Dictionary<?, ?>) - Method in interface org.apache.felix.dm.Component
-
Sets the public interface under which this component should be registered
in the OSGi service registry.
- setInterface(Class<?>[], Dictionary<?, ?>) - Method in interface org.apache.felix.dm.Component
-
Sets the public interfaces under which this component should be registered
in the OSGi service registry.
- setLocalization(String) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
Points to the basename of the Properties file that can localize the Meta
Type informations.
- setLocalization(String) - Method in interface org.apache.felix.dm.FactoryComponent
-
Points to the metatype basename of the Properties file that can localize the Meta Type informations.
- setPid(String) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
Sets the service.pid
of the configuration you are depending on.
- setPropagate(boolean) - Method in interface org.apache.felix.dm.AdapterComponent
-
Sets if the adaptee service properties should be propagated to the adapter service consumer (true by default)
- setPropagate(boolean) - Method in interface org.apache.felix.dm.BundleComponent
-
Sets if the bundle manifest headers should be propagated to the bundle component adapter service consumer (true by default).
- setPropagate(boolean) - Method in interface org.apache.felix.dm.BundleDependency
-
Sets property propagation.
- setPropagate(Object, String) - Method in interface org.apache.felix.dm.BundleDependency
-
Sets an Object instance and a callback method used to propagate some properties to the provided service properties.
- setPropagate(boolean) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
Sets propagation of the configuration properties to the service
properties.
- setPropagate(boolean, boolean) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
Sets propagation of the configuration properties to the service
properties.
- setPropagate(boolean) - Method in class org.apache.felix.dm.context.AbstractDependency
-
Activates Dependency service properties propagation (to the service properties of the component to which this
dependency is added).
- setPropagate(boolean, boolean) - Method in class org.apache.felix.dm.context.AbstractDependency
-
- setPropagate(Object, String) - Method in class org.apache.felix.dm.context.AbstractDependency
-
Sets a callback instance which can ba invoked with the given method in order to dynamically retrieve the
dependency service properties.
- setPropagate(boolean) - Method in interface org.apache.felix.dm.FactoryComponent
-
Sets the propagate flag (true means all public configuration properties are propagated to service properties).
- setPropagate(boolean) - Method in interface org.apache.felix.dm.ResourceComponent
-
Sets if properties from the resource should be propagated to the resource adapter service.
- setPropagate(Object, String) - Method in interface org.apache.felix.dm.ResourceComponent
-
Sets the propagate callback to invoke in order to propagate the resource properties to the adapter service.
- setPropagate(boolean) - Method in interface org.apache.felix.dm.ResourceDependency
-
- setPropagate(Object, String) - Method in interface org.apache.felix.dm.ResourceDependency
-
Sets an Object instance and a callback method used to propagate some properties to the provided service properties.
- setPropagate(boolean) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets propagation of the service dependency properties to the provided service properties.
- setPropagate(Object, String) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets an Object instance and a callback method used to propagate some properties to the provided service properties.
- setRequired(boolean) - Method in interface org.apache.felix.dm.BundleDependency
-
Sets the dependency to be required.
- setRequired(boolean) - Method in interface org.apache.felix.dm.ConfigurationDependency
-
Sets the required flag which determines if this configuration dependency is required or not.
- setRequired(boolean) - Method in class org.apache.felix.dm.context.AbstractDependency
-
- setRequired(boolean) - Method in interface org.apache.felix.dm.PropertyMetaData
-
Tells if this property is required or not.
- setRequired(boolean) - Method in interface org.apache.felix.dm.ResourceDependency
-
Determines if this is a required dependency or not.
- setRequired(boolean) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets the required flag which determines if this service is required or not.
- setResource(URL) - Method in interface org.apache.felix.dm.ResourceDependency
-
Sets the resource for this dependency.
- setResourceFilter(String) - Method in interface org.apache.felix.dm.ResourceComponent
-
Sets the resource filter used to match a given resource URL.
- setScope(Component.ServiceScope) - Method in interface org.apache.felix.dm.Component
-
Sets the component scope.
- setService(Class<?>) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets the name of the service that should be tracked.
- setService(Class<?>, String) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets the name of the service that should be tracked.
- setService(String) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets the filter for the services that should be tracked.
- setService(Class<?>, ServiceReference) - Method in interface org.apache.felix.dm.ServiceDependency
-
Sets the name of the service that should be tracked.
- setServiceProperties(Dictionary<?, ?>) - Method in interface org.apache.felix.dm.Component
-
Sets the service properties associated with the component.
- setStateMask(int) - Method in interface org.apache.felix.dm.BundleDependency
-
Sets the bundle state mask to depend on.
- setThreadPool(Executor) - Method in interface org.apache.felix.dm.context.ComponentContext
-
Sets a threadpool that the component will use when handling external events
- setType(Class<?>) - Method in interface org.apache.felix.dm.PropertyMetaData
-
Returns the property primitive type.
- setUpdated(String) - Method in interface org.apache.felix.dm.FactoryComponent
-
Sets the method name that will be notified when the factory configuration is created/updated.
- setUpdateInstance(Object) - Method in interface org.apache.felix.dm.FactoryComponent
-
Sets the object on which the updated callback will be invoked.
- size() - Method in class org.apache.felix.dm.tracker.BundleTracker
-
Return the number of bundles being tracked by this
BundleTracker
.
- size() - Method in class org.apache.felix.dm.tracker.ServiceTracker
-
Return the number of services being tracked by this
ServiceTracker
.
- start() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Starts this dependency.
- start() - Method in interface org.apache.felix.dm.context.ComponentContext
-
Starts the component.
- start() - Method in interface org.apache.felix.dm.context.DependencyContext
-
Invoked by the component context when the dependency should start working.
- start(BundleContext) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Start method of the bundle activator.
- STATE_AVAILABLE_OPTIONAL - Static variable in interface org.apache.felix.dm.ComponentDependencyDeclaration
-
State constant for an available, optional dependency.
- STATE_AVAILABLE_REQUIRED - Static variable in interface org.apache.felix.dm.ComponentDependencyDeclaration
-
State constant for an available, required dependency.
- STATE_NAMES - Static variable in interface org.apache.felix.dm.ComponentDeclaration
-
Names for the states of this component.
- STATE_NAMES - Static variable in interface org.apache.felix.dm.ComponentDependencyDeclaration
-
Names for the states of this dependency.
- STATE_OPTIONAL - Static variable in interface org.apache.felix.dm.ComponentDependencyDeclaration
-
State constant for an optional dependency that has not been started yet.
- STATE_REGISTERED - Static variable in interface org.apache.felix.dm.ComponentDeclaration
-
State constant for a registered component.
- STATE_REQUIRED - Static variable in interface org.apache.felix.dm.ComponentDependencyDeclaration
-
State constant for a required dependency that has not been started yet.
- STATE_UNAVAILABLE_OPTIONAL - Static variable in interface org.apache.felix.dm.ComponentDependencyDeclaration
-
State constant for an unavailable, optional dependency.
- STATE_UNAVAILABLE_REQUIRED - Static variable in interface org.apache.felix.dm.ComponentDependencyDeclaration
-
State constant for an unavailable, required dependency.
- STATE_UNREGISTERED - Static variable in interface org.apache.felix.dm.ComponentDeclaration
-
State constant for an unregistered component.
- stop() - Method in class org.apache.felix.dm.context.AbstractDependency
-
Starts this dependency.
- stop() - Method in interface org.apache.felix.dm.context.ComponentContext
-
Stops the component.
- stop() - Method in interface org.apache.felix.dm.context.DependencyContext
-
Invoked by the component context when the dependency should stop working.
- stop(BundleContext) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Stop method of the bundle activator.
- swappedService(ServiceReference, Object, ServiceReference, Object) - Method in class org.apache.felix.dm.tracker.ServiceTracker
-
- swappedService(ServiceReference, Object, ServiceReference, Object) - Method in interface org.apache.felix.dm.tracker.ServiceTrackerCustomizer
-
A service tracked by the ServiceTracker
has an aspect service
added or removed for a tracked service.