Annotation Type ScriptClass
-
@Retention(RUNTIME) @Target(TYPE) public @interface ScriptClassCustom annotation type for java classes that will either serve as JavaScript or Template root objects or provide JavaScript or Template APIs. In general, developer needs to provide help information, sample code and class type in java code which will then be processed by a custom Spring Surf mavnen plugin for producing reference documents as part of the build process. This will avoid manual documentation step.- Author:
- drq
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Stringcodejava.lang.StringhelpScriptClassType[]types
-
-
-
-
types
ScriptClassType[] types
- Returns:
- type of this class (the default is JavaScriptAPI)
- Default:
- {org.springframework.extensions.webscripts.annotation.ScriptClassType.JavaScriptAPI}
-
-