|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Factory<T>
Hook to create/obtain an instance of a component from somewhere, instead of letting the auto-depends create it via the constructor.
Factory is by itself a component, so the factory
implementation could have everything it needs injected.
Service,
ContextualFactory| Method Summary |
|---|
| Methods inherited from interface org.glassfish.hk2.Factory |
|---|
get |
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||