Interface InjectionManagerFactory

  • All Known Implementing Classes:
    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 Detail

      • create

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

        InjectionManager create​(java.lang.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.