Uses of Interface
org.apache.felix.dm.ResourceComponent
Packages that use ResourceComponent
-
Uses of ResourceComponent in org.apache.felix.dm
Methods in org.apache.felix.dm that return ResourceComponentModifier and TypeMethodDescriptionResourceComponent.add(ComponentStateListener listener) Adds a component state listener to this component.ResourceComponent.add(Dependency... dependencies) Adds dependency(ies) to this component, atomically.DependencyActivatorBase.createResourceComponent()Creates a new resource adapter component.DependencyManager.createResourceComponent()Creates a new resource adapter component.ResourceComponent.remove(ComponentStateListener listener) Removes a component state listener from this component.ResourceComponent.remove(Dependency d) Removes a dependency from the component.ResourceComponent.setAutoConfig(Class<?> clazz, boolean autoConfig) Configures auto configuration of injected classes in the component instance.ResourceComponent.setAutoConfig(Class<?> clazz, String instanceName) Configures auto configuration of injected classes in the component instance.ResourceComponent.setBundleCallbackInstance(Object callbackInstance) Sets the instance to invoke the callbacks on (null by default, meaning the callbacks have to be invoked on the resource adapter itself)ResourceComponent.setBundleCallbacks(String add, String change) Sets the callbacks to invoke when injecting the resource into the adapter component.ResourceComponent.setCallbacks(Object instance, String init, String start, String stop, String destroy) Sets the names of the methods used as callbacks.ResourceComponent.setCallbacks(String init, String start, String stop, String destroy) Sets the names of the methods used as callbacks.ResourceComponent.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.ResourceComponent.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.ResourceComponent.setFactory(Object factory, String createMethod) Sets the factory to use to create the implementation.ResourceComponent.setFactory(String createMethod) Sets the factory to use to create the implementation.ResourceComponent.setImplementation(Object implementation) Sets the implementation for this component.ResourceComponent.setInterface(Class<?>[] serviceNames, Dictionary<?, ?> properties) Sets the public interfaces under which this component should be registered in the OSGi service registry.ResourceComponent.setInterface(Class<?> serviceName, Dictionary<?, ?> properties) Sets the public interface under which this component should be registered in the OSGi service registry.ResourceComponent.setInterface(String[] serviceNames, Dictionary<?, ?> properties) Sets the public interfaces under which this component should be registered in the OSGi service registry.ResourceComponent.setInterface(String serviceName, Dictionary<?, ?> properties) Sets the public interface under which this component should be registered in the OSGi service registry.ResourceComponent.setPropagate(boolean propagate) Sets if properties from the resource should be propagated to the resource adapter service.ResourceComponent.setPropagate(Object propagateCbInstance, String propagateCbMethod) Sets the propagate callback to invoke in order to propagate the resource properties to the adapter service.ResourceComponent.setResourceFilter(String filter) Sets the resource filter used to match a given resource URL.ResourceComponent.setScope(Component.ServiceScope scope) Sets the component scope.ResourceComponent.setServiceProperties(Dictionary<?, ?> serviceProperties) Sets the service properties associated with the component. -
Uses of ResourceComponent in org.apache.felix.dm.compat
Methods in org.apache.felix.dm.compat that return ResourceComponentModifier and TypeMethodDescriptionabstract ResourceComponentDependencyManagerCompat.createResourceComponent()Creates a new resource adapter component.