The Apache Jakarta Project Jakarta HiveMind Project
 
   

hivemind.lib.SpringLookupFactory Service

The SpringLookupFactory supports integration with the Spring framework, another open-source lightweight container. SpringLookupFactory is a service constructor that obtains a core service implementation from a Spring BeanFactory .

By default, the BeanFactory is obtained from the DefaultSpringBeanFactoryHolder. Part of your application startup code requires that you start a Spring instance and inform the DefaultSpringBeanFactoryHolder about it.

The SpringLookupFactory expects exactly one parameter element:

  lookup-bean (name=... source-service-id=...)
 

The name attribute is the name of the bean to look for inside the Spring BeanFactory.

The optional source-service-id attribute allows an alternate service to be used to obtain the BeanFactory. The identified service must implement the SpringBeanFactorySource interface.