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 Summary

    Modifier and Type
    Method
    Description
    Load a new injection manager without parent and initial binder.
    create(Object parent)
    Load a new injection manager with parent object.
  • 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.