|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Resource
Annotate a method for declaring a resource serving controller method.
public void MyController {
@
Resource
public void myResource() {
...
}
}
Optional Element Summary | |
---|---|
String |
id
The controller method id. |
public abstract String id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |