Uses of Interface
org.apache.felix.dm.AdapterComponent
Packages that use AdapterComponent
-
Uses of AdapterComponent in org.apache.felix.dm
Methods in org.apache.felix.dm that return AdapterComponentModifier and TypeMethodDescriptionAdapterComponent.add(ComponentStateListener listener) Adds a component state listener to this component.AdapterComponent.add(Dependency... dependencies) Adds dependency(ies) to this component, atomically.DependencyActivatorBase.createAdapterComponent()Creates a new adapter service.DependencyManager.createAdapterComponent()Creates a new adapter component.AdapterComponent.remove(ComponentStateListener listener) Removes a component state listener from this component.AdapterComponent.remove(Dependency d) Removes a dependency from the component.AdapterComponent.setAdaptee(Class<?> service, String filter) Sets the service interface to apply the adapter toAdapterComponent.setAdapteeCallbackInstance(Object callbackInstance) Sets the instance to invoke the callbacks on (null by default, meaning the callbacks have to be invoked on the adapter itself)AdapterComponent.setAdapteeCallbacks(String add, String change, String remove, String swap) Sets the callbacks to invoke when injecting the adaptee service into the adapter component.AdapterComponent.setAdapteeField(String autoConfig) Sets the name of the member to inject the service intoAdapterComponent.setAutoConfig(Class<?> clazz, boolean autoConfig) Configures auto configuration of injected classes in the component instance.AdapterComponent.setAutoConfig(Class<?> clazz, String instanceName) Configures auto configuration of injected classes in the component instance.AdapterComponent.setCallbacks(Object instance, String init, String start, String stop, String destroy) Sets the names of the methods used as callbacks.AdapterComponent.setCallbacks(String init, String start, String stop, String destroy) Sets the names of the methods used as callbacks.AdapterComponent.setComposition(Object instance, String getMethod) Sets the instance and method to invoke to get back all instances that are part of a composition and need dependencies injected.AdapterComponent.setComposition(String getMethod) Sets the method to invoke on the service implementation to get back all instances that are part of a composition and need dependencies injected.Activate debug for this component.AdapterComponent.setFactory(Object factory, String createMethod) Sets the factory to use to create the implementation.AdapterComponent.setFactory(String createMethod) Sets the factory to use to create the implementation.AdapterComponent.setImplementation(Object implementation) Sets the implementation for this component.AdapterComponent.setInterface(Class<?>[] serviceNames, Dictionary<?, ?> properties) Sets the public interfaces under which this component should be registered in the OSGi service registry.AdapterComponent.setInterface(Class<?> serviceName, Dictionary<?, ?> properties) Sets the public interface under which this component should be registered in the OSGi service registry.AdapterComponent.setInterface(String[] serviceNames, Dictionary<?, ?> properties) Sets the public interfaces under which this component should be registered in the OSGi service registry.AdapterComponent.setInterface(String serviceName, Dictionary<?, ?> properties) Sets the public interface under which this component should be registered in the OSGi service registry.AdapterComponent.setPropagate(boolean propagate) Sets if the adaptee service properties should be propagated to the adapter service consumer (true by default)AdapterComponent.setScope(Component.ServiceScope scope) Sets the component scope.AdapterComponent.setServiceProperties(Dictionary<?, ?> serviceProperties) Sets the service properties associated with the component. -
Uses of AdapterComponent in org.apache.felix.dm.compat
Methods in org.apache.felix.dm.compat that return AdapterComponentModifier and TypeMethodDescriptionabstract AdapterComponentDependencyManagerCompat.createAdapterComponent()Creates a new adapter component.