Uses of Interface
org.apache.felix.dm.AspectComponent
Packages that use AspectComponent
-
Uses of AspectComponent in org.apache.felix.dm
Methods in org.apache.felix.dm that return AspectComponentModifier and TypeMethodDescriptionAspectComponent.add(ComponentStateListener listener) Adds a component state listener to this component.AspectComponent.add(Dependency... dependencies) Adds dependency(ies) to this component, atomically.DependencyActivatorBase.createAspectComponent()Creates a new aspect component.DependencyManager.createAspectComponent()Creates a new aspect component.AspectComponent.remove(ComponentStateListener listener) Removes a component state listener from this component.AspectComponent.remove(Dependency d) Removes a dependency from the component.Sets the service interface to apply the aspect to (required parameter)AspectComponent.setAspectCallbackInstance(Object callbackInstance) Sets the instance to invoke the callbacks on (optional parameter).AspectComponent.setAspectCallbacks(String add, String change, String remove, String swap) Sets name of the callbacks method to invoke on add,change,remove, or swap callbacks (optional parameter).AspectComponent.setAspectField(String autoConfig) Sets the aspect implementation field name where to inject original service (optional parameter).AspectComponent.setAutoConfig(Class<?> clazz, boolean autoConfig) Configures auto configuration of injected classes in the component instance.AspectComponent.setAutoConfig(Class<?> clazz, String instanceName) Configures auto configuration of injected classes in the component instance.AspectComponent.setCallbacks(Object instance, String init, String start, String stop, String destroy) Sets the names of the methods used as callbacks.AspectComponent.setCallbacks(String init, String start, String stop, String destroy) Sets the names of the methods used as callbacks.AspectComponent.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.AspectComponent.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.AspectComponent.setFactory(Object factory, String createMethod) Sets the factory to use to create the implementation.AspectComponent.setFactory(String createMethod) Sets the factory to use to create the implementation.AspectComponent.setImplementation(Object implementation) Sets the implementation for this component.AspectComponent.setInterface(Class<?>[] serviceNames, Dictionary<?, ?> properties) Sets the public interfaces under which this component should be registered in the OSGi service registry.AspectComponent.setInterface(Class<?> serviceName, Dictionary<?, ?> properties) Sets the public interface under which this component should be registered in the OSGi service registry.AspectComponent.setInterface(String[] serviceNames, Dictionary<?, ?> properties) Sets the public interfaces under which this component should be registered in the OSGi service registry.AspectComponent.setInterface(String serviceName, Dictionary<?, ?> properties) Sets the public interface under which this component should be registered in the OSGi service registry.AspectComponent.setScope(Component.ServiceScope scope) Sets the component scope.AspectComponent.setServiceProperties(Dictionary<?, ?> serviceProperties) Sets the service properties associated with the component. -
Uses of AspectComponent in org.apache.felix.dm.compat
Methods in org.apache.felix.dm.compat that return AspectComponentModifier and TypeMethodDescriptionabstract AspectComponentDependencyManagerCompat.createAspectComponent()Creates a new aspect component.