Spring Plug-in

This module provides integration with Spring to enable the Spring beans to be dependency injected into Tasks. This reduces the cost of adopting OfficeFloor by Spring applications by allowing the existing bean libraries to be re-used within OfficeFloor.

Over time you may wish to consider moving your management of beans to use ClassManagedObjectSource and ClassWorkSource as these Sources allow the beans to be graphically configured together and not necessitate writing the configuration by hand in Spring.

ManagedObjectSourceInterface of objectDescription
net.officefloor.plugin.spring.beanfactory.BeanFactoryManagedObjectSourceorg.springframework.beans.factory.BeanFactoryProvides wrapping of the XMLBeanFactory to provide access to obtain Spring beans. Also provides ability for beans to be dependent on objects from ManagedObjectSources (see net.officefloor.plugin.spring.beanfactory.DependencyFactoryBean).
net.officefloor.plugin.spring.bean.BeanManagedObjectSourceObject as per Spring configurationProvides specific beans from the BeanFactory by name