- changed(Component, ComponentState) - Method in interface org.apache.felix.dm.ComponentStateListener
-
- 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 - Interface in org.apache.felix.dm
-
Component interface.
- ComponentContext - 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).
- createAdapterFactoryConfigurationService(String, String, boolean, String, String, String, PropertyMetaData[]) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new Managed Service Factory Configuration Adapter with meta type support.
- createAdapterService(Class<?>, String) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new adapter service.
- createAdapterService(Class<?>, String, String) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new adapter service.
- createAdapterService(Class<?>, String, String, String, String) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new adapter service.
- createAdapterService(Class<?>, String, String, String, String, String) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new adapter service.
- createAdapterService(Class<?>, String, String, Object, String, String, String, String) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new adapter service.
- createAdapterService(Class<?>, String, String, Object, String, String, String, String, boolean) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new adapter service.
- createAdapterService(Class<?>, String) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new adapter.
- createAdapterService(Class<?>, String, String) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new adapter.
- createAdapterService(Class<?>, String, String, String, String) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new adapter.
- createAdapterService(Class<?>, String, String, String, String, String) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new adapter.
- createAdapterService(Class<?>, String, String, Object, String, String, String, String, boolean) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new adapter.
- createAspectService(Class<?>, String, int, String) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new aspect service.
- createAspectService(Class<?>, String, int) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new aspect service.
- createAspectService(Class<?>, String, int, String, String, String) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new aspect service.
- createAspectService(Class<?>, String, int, String, String, String, String) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new aspect service.
- createAspectService(Class<?>, String, int, String) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new aspect.
- createAspectService(Class<?>, String, int) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new aspect.
- createAspectService(Class<?>, String, int, String, String, String) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new aspect.
- createAspectService(Class<?>, String, int, String, String, String, String) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new aspect.
- createBundleAdapterService(int, String, boolean) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new bundle adapter service.
- createBundleAdapterService(int, String, boolean, Object, String, String, String) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new bundle adapter service, using a specific callback instance
- createBundleAdapterService(int, String, boolean) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new bundle adapter.
- createBundleAdapterService(int, String, boolean, Object, String, String, String) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new bundle adapter using specific callback instance.
- 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.
- 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.
- createFactoryConfigurationAdapterService(String, String, boolean) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new factory configuration adapter service.
- createFactoryConfigurationAdapterService(String, String, boolean, Object) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new factory configuration adapter service, using a specific callback instance
- createFactoryConfigurationAdapterService(String, String, boolean, String, String, String, PropertyMetaData[]) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new factory configuration adapter service.
- createFactoryConfigurationAdapterService(String, String, boolean) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new Managed Service Factory Configuration Adapter.
- createFactoryConfigurationAdapterService(String, String, boolean, Object) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new Managed Service Factory Configuration Adapter using a specific update callback instance.
- 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.DependencyActivatorBase
-
Creates a new resource adapter service.
- createResourceAdapter(String, boolean, Object, String, String) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new resource adapter service.
- createResourceAdapter(String, Object, String, Object, String) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new resource adapter service.
- createResourceAdapter(String, Object, String, Object, String, String) - Method in class org.apache.felix.dm.DependencyActivatorBase
-
Creates a new resource adapter service.
- createResourceAdapterService(String, boolean, Object, String) - Method in class org.apache.felix.dm.DependencyManager
-
Creates a new resource adapter.
- createResourceAdapterService(String, boolean, Object, String, String) - Method in class org.apache.felix.dm.DependencyManager
-
- createResourceAdapterService(String, Object, String, Object, String) - Method in class org.apache.felix.dm.DependencyManager
-
- createResourceAdapterService(String, Object, String, Object, String, String) - Method in class org.apache.felix.dm.DependencyManager
-
- 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.Component
-
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.Component
-
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...).
- 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.Component
-
Returns the instance that make up this component.
- getInstances() - Method in interface org.apache.felix.dm.Component
-
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.
- 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.Component
-
Returns the service properties associated with the component.
- 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
-
- m_add - Variable in class org.apache.felix.dm.context.AbstractDependency
-
Component callback used to inject an added dependency.
- m_autoConfig - Variable in class org.apache.felix.dm.context.AbstractDependency
-
Can this Dependency be auto configured in the component instance fields ?
- m_autoConfigInstance - Variable in class org.apache.felix.dm.context.AbstractDependency
-
The Component field name where the Dependency can be injected (null means any field with a compatible type
will be injected).
- m_autoConfigInvoked - Variable in class org.apache.felix.dm.context.AbstractDependency
-
Indicates if the setAutoConfig method has been invoked.
- m_available - Variable in class org.apache.felix.dm.context.AbstractDependency
-
Is this Dependency available ? Volatile because the getState method (part of the
ComponentDependencyDeclaration
interface) may be called by any thread, at any time.
- m_callbackInstance - Variable in class org.apache.felix.dm.context.AbstractDependency
-
The object instance on which the dependency callbacks are invoked on.
- m_change - Variable in class org.apache.felix.dm.context.AbstractDependency
-
Component callback invoked when the dependency has changed.
- m_component - Variable in class org.apache.felix.dm.context.AbstractDependency
-
The Component implementation is exposed to Dependencies through this interface.
- m_instanceBound - Variable in class org.apache.felix.dm.context.AbstractDependency
-
Is this Dependency "instance bound" ? A dependency is "instance bound" if it is defined within the component's
init method, meaning that it won't deactivate the component if it is not currently available when being added
from the component's init method.
- m_isStarted - Variable in class org.apache.felix.dm.context.AbstractDependency
-
Has this Dependency been started by the Component implementation ? Volatile because the getState method
(part of the
ComponentDependencyDeclaration
interface) may be called by any thread, at any time.
- m_propagate - Variable in class org.apache.felix.dm.context.AbstractDependency
-
Tells if the dependency service properties have to be propagated to the Component service properties.
- m_propagateCallbackInstance - Variable in class org.apache.felix.dm.context.AbstractDependency
-
The propagate callback instance that is invoked in order to supply dynamically some dependency service properties.
- m_propagateCallbackMethod - Variable in class org.apache.felix.dm.context.AbstractDependency
-
The propagate callback method that is invoked in order to supply dynamically some dependency service properties.
- m_remove - Variable in class org.apache.felix.dm.context.AbstractDependency
-
Component callback invoked when the dependency becomes unavailable.
- m_required - Variable in class org.apache.felix.dm.context.AbstractDependency
-
Is this dependency required (false by default) ?
- m_trackAllAspects - Variable in class org.apache.felix.dm.tracker.ServiceTracker
-
Flag that gets set when opening the tracker, determines if the tracker should
track all aspects or just the highest ranked ones.
- METHOD_CACHE_SIZE - Static variable in class org.apache.felix.dm.DependencyManager
-
- MissingDependency - Class in org.apache.felix.dm.diagnostics
-
This represents a missing dependency.
- MissingDependency(String, String, String) - Constructor for class org.apache.felix.dm.diagnostics.MissingDependency
-
- modifiedBundle(Bundle, BundleEvent, Object) - Method in class org.apache.felix.dm.tracker.BundleTracker
-
Default implementation of the
BundleTrackerCustomizer.modifiedBundle
method.
- modifiedBundle(Bundle, BundleEvent, Object) - Method in interface org.apache.felix.dm.tracker.BundleTrackerCustomizer
-
A bundle tracked by the BundleTracker
has been modified.
- modifiedService(ServiceReference, Object) - Method in class org.apache.felix.dm.tracker.ServiceTracker
-
Default implementation of the
ServiceTrackerCustomizer.modifiedService
method.
- modifiedService(ServiceReference, Object) - Method in interface org.apache.felix.dm.tracker.ServiceTrackerCustomizer
-
A service tracked by the ServiceTracker
has been modified.
- 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.
- 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.
- 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.
- 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.
- 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 this service dependency.
- setDefaults(String[]) - Method in interface org.apache.felix.dm.PropertyMetaData
-
Returns a default for this property.
- 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.
- 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.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.
- 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.
- 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.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) - 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(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.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 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.
- 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.
- 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.