Package org.chenile.owiz.impl
Class OwizSpringFactoryAdapter
java.lang.Object
org.chenile.owiz.impl.OwizSpringFactoryAdapter
- All Implemented Interfaces:
BeanFactoryAdapter
Links OWIZ to the Spring framework. It looks up a command by name from the Spring bean factory
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
applicationContext
-
-
Constructor Details
-
OwizSpringFactoryAdapter
public OwizSpringFactoryAdapter()
-
-
Method Details
-
lookup
- Specified by:
lookup
in interfaceBeanFactoryAdapter
- Parameters:
componentName
- - the name of the instance as configured in the bean factory.- Returns:
- the actual instance created from the bean factory. This would benefit from dependency injection.
-