Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

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

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

Used to annotate fields or parameters that shall be injected with instances obtained from the registered IoC component provider factory (if any).

If the name of instance to inject is not recognized or there is no IoC component provider factory registered then no injection will occur.

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:
    ""

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

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