org.jvnet.hk2.annotations
Annotation Type FactoryFor


Deprecated.

@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.

Author:
Kohsuke Kawaguchi
See Also:
Factory

Required Element Summary
 Class<?>[] value
          Deprecated.  
 

Element Detail

value

@Index
public abstract Class<?>[] value
Deprecated. 


Copyright © 2013 Oracle Corporation. All Rights Reserved.