Interface InjectionManagerFactory
-
- All Known Implementing Classes:
Hk2InjectionManagerFactory
public interface InjectionManagerFactory
Factory which is able to createInjectionManager
. Every DI provider must create its ownInjectionManagerFactory
and register it in META-INF.services. Then theInjectionManagerFactory
can be looked up andInjectionManager
can be created.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InjectionManager
create()
Load a new injection manager without parent and initial binder.InjectionManager
create(java.lang.Object parent)
Load a new injection manager with parent object.
-
-
-
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.
-
-