Uses of Interface
org.apache.felix.dm.FactoryComponent
Packages that use FactoryComponent
-
Uses of FactoryComponent in org.apache.felix.dm
Methods in org.apache.felix.dm that return FactoryComponentModifier and TypeMethodDescriptionFactoryComponent.add(ComponentStateListener listener) Adds a component state listener to this component.FactoryComponent.add(Dependency... dependencies) Adds dependency(ies) to this component, atomically.FactoryComponent.add(PropertyMetaData... metaData) Sets metatype MetaData regarding configuration properties.DependencyActivatorBase.createFactoryComponent()Creates a new factory configuration component.DependencyManager.createFactoryComponent()Creates a new Factory Component.FactoryComponent.remove(ComponentStateListener listener) Removes a component state listener from this component.FactoryComponent.remove(Dependency d) Removes a dependency from the component.FactoryComponent.setAutoConfig(Class<?> clazz, boolean autoConfig) Configures auto configuration of injected classes in the component instance.FactoryComponent.setAutoConfig(Class<?> clazz, String instanceName) Configures auto configuration of injected classes in the component instance.FactoryComponent.setCallbacks(Object instance, String init, String start, String stop, String destroy) Sets the names of the methods used as callbacks.FactoryComponent.setCallbacks(String init, String start, String stop, String destroy) Sets the names of the methods used as callbacks.FactoryComponent.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.FactoryComponent.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.FactoryComponent.setConfigType(Class<?>... configTypes) Sets the configuration type to use instead of a dictionary.Activate debug for this component.A metatype human readable description of the factory PID this configuration is associated with.FactoryComponent.setFactory(Object factory, String createMethod) Sets the factory to use to create the implementation.FactoryComponent.setFactory(String createMethod) Sets the factory to use to create the implementation.FactoryComponent.setFactoryPid(Class<?> clazz) Sets the pid matching the factory configuration using the specified class.FactoryComponent.setFactoryPid(String factoryPid) Sets the pid matching the factory configurationFactoryComponent.setHeading(String heading) Sets the metatype label used to display the tab name (or section) where the properties are displayed.FactoryComponent.setImplementation(Object implementation) Sets the implementation for this component.FactoryComponent.setInterface(Class<?>[] serviceNames, Dictionary<?, ?> properties) Sets the public interfaces under which this component should be registered in the OSGi service registry.FactoryComponent.setInterface(Class<?> serviceName, Dictionary<?, ?> properties) Sets the public interface under which this component should be registered in the OSGi service registry.FactoryComponent.setInterface(String[] serviceNames, Dictionary<?, ?> properties) Sets the public interfaces under which this component should be registered in the OSGi service registry.FactoryComponent.setInterface(String serviceName, Dictionary<?, ?> properties) Sets the public interface under which this component should be registered in the OSGi service registry.FactoryComponent.setLocalization(String localization) Points to the metatype basename of the Properties file that can localize the Meta Type informations.FactoryComponent.setPropagate(boolean propagate) Sets the propagate flag (true means all public configuration properties are propagated to service properties).FactoryComponent.setScope(Component.ServiceScope scope) Sets the component scope.FactoryComponent.setServiceProperties(Dictionary<?, ?> serviceProperties) Sets the service properties associated with the component.FactoryComponent.setUpdated(String update) Sets the method name that will be notified when the factory configuration is created/updated.FactoryComponent.setUpdateInstance(Object updatedCallbackInstance) Sets the object on which the updated callback will be invoked. -
Uses of FactoryComponent in org.apache.felix.dm.compat
Methods in org.apache.felix.dm.compat that return FactoryComponentModifier and TypeMethodDescriptionabstract FactoryComponentDependencyManagerCompat.createFactoryComponent()Creates a new Factory Component.