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