|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=PACKAGE) public @interface Application
A package annotation for declaring an application.
By default the application name is the current
package name whose first letter is capitalized and appended with the word Applicaiton. For instance when this
annotation annotates the package org.hello
the resulting application name will be
HelloApplication
. The application name can be overrided thanks to the name()
annotation
parameter.
Optional Element Summary | |
---|---|
Class<?> |
defaultController
Returns an optional default controller class. |
boolean |
escapeXML
Controls if the generated URL should be escaped to valid XML. |
String |
name
Returns an optional application name. |
public abstract String name
public abstract Class<?> defaultController
public abstract boolean escapeXML
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |