com.sun.jersey.spi.inject
Annotation Type Inject


@Target(value={FIELD,PARAMETER,CONSTRUCTOR})
@Retention(value=RUNTIME)
@Documented
public @interface Inject

Used to annotate fields that shall be injected with instances obtained from the component provider.

Author:
Martin Grotzke

Optional Element Summary
 java.lang.String value
           
 

value

public abstract java.lang.String value
Returns:
the name of the object to inject, by default the name is the class name of the type that is injected.
Default:
""


Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.