Class OwizSpringFactoryAdapter

java.lang.Object
org.chenile.owiz.impl.OwizSpringFactoryAdapter
All Implemented Interfaces:
BeanFactoryAdapter

public class OwizSpringFactoryAdapter extends Object implements BeanFactoryAdapter
Links OWIZ to the Spring framework. It looks up a command by name from the Spring bean factory
  • Field Details

  • Constructor Details

    • OwizSpringFactoryAdapter

      public OwizSpringFactoryAdapter()
  • Method Details

    • lookup

      public Object lookup(String componentName)
      Specified by:
      lookup in interface BeanFactoryAdapter
      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.