Interface BeanFactoryAdapter

All Known Implementing Classes:
OwizSpringFactoryAdapter

public interface BeanFactoryAdapter
Interface defines a contract for classes that look up objects from various DI frameworks (aka Bean factories)
  • Method Summary

    Modifier and Type
    Method
    Description
    lookup(String componentName)
     
  • Method Details

    • lookup

      Object lookup(String componentName)
      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.