|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @Inherited public @interface DefaultController
This marker annotation indicates that a given render method will be the default controller for an application. This will typically be loaded in a load-on-startup servlet so it can register with the context. Cetia provides MainServlet with a single render() param to provide a simple main servlet implementation. Current framework implementation only allows to place this flag on a render() method with no path info params. A default controller method will typically be this way. MainServlet is a simple implementation that uses this annotation.
MainServlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||