|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Deprecated @Contract @Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface FactoryFor
Indicates that the component serves as a factory for the specified type(s).
This annotation is useful to plug existing factory-created objects into HK2.
Normally goes with Service
annotation, and this annotation must be placed
on a class that implements Factory
.
Factory
Required Element Summary | |
---|---|
Class<?>[] |
value
Deprecated. |
Element Detail |
---|
@Index public abstract Class<?>[] value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |