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 TypeMethodDescriptiondefault InjectionManager
create()
Load a new injection manager without parent and initial binder.Load a new injection manager with parent object.
-
Method Details
-
create
Load a new injection manager without parent and initial binder.- Returns:
- initialized injection manager.
-
create
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.
-