Annotation Interface OsgiServiceFactory
This annotation can be added to your @Bean method in @Configuration class, or the bean implementation class.
By convention, in Jira configuration classes this annotation must be added to each bean method.
When added to the factory method, the bean is registered as OSGi
ServiceFactory of the specified type.
Make sure that the factory method returns an instance of the specified type, or the world will blow up.-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<?> valueThe type which is produced by this factory.- Returns:
- the type
-