Interface InjectionManagerFactory

All Known Implementing Classes:
CdiSeInjectionManagerFactory, Hk2InjectionManagerFactory

public interface InjectionManagerFactory
Factory which is able to create InjectionManager. Every DI provider must create its own InjectionManagerFactory and register it in META-INF.services. Then the InjectionManagerFactory can be looked up and InjectionManager can be created.
  • Method Details

    • create

      default InjectionManager create()
      Load a new injection manager without parent and initial binder.
      Returns:
      initialized injection manager.
    • create

      InjectionManager create(Object parent)
      Load a new injection manager with parent object.
      Parameters:
      parent - injection manager parent or concrete DI specific object which is compatible with DI provider.
      Returns:
      initialized injection manager.
    • create

      InjectionManager create(Object parent, Configuration configuration)
      Load a new injection manager with parent object for a given RuntimeType.
      Parameters:
      configuration - the configuration including RuntimeType of the InjectionManager used.
      parent - injection manager parent or concrete DI specific object which is compatible with DI provider.
      Returns:
      initialized injection manager.