|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,METHOD,PARAMETER}) @Retention(value=RUNTIME) public @interface Resource
Annotation used to indicate a resource should be provided to an implementation by the runtime.
Optional Element Summary | |
---|---|
java.lang.String |
mappedName
Denotes the default name of the resource provided by the runtime environment. |
java.lang.String |
name
Denotes the name of the resource declared by the implementation. |
boolean |
optional
Denotes if the resource is optional |
public abstract java.lang.String name
public abstract boolean optional
public abstract java.lang.String mappedName
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |