@Retention(value=SOURCE) @Target(value=TYPE) public @interface RooController
This annotation will cause ROO to produce code that would typically appear in MVC controllers. Importantly, such code does NOT depend on any singletons and is intended to safely serialise. In the current release this code will be emitted to an ITD.
| Modifier and Type | Required Element and Description |
|---|---|
Class<?> |
entity
Every controller is responsible for a single entity.
|
ControllerType |
type
This parameter defines the controller type
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
pathPrefix
This parameter defines the @RequestMapping prefix of annotated Controller
|
public abstract Class<?> entity
public abstract ControllerType type
public abstract String pathPrefix
Copyright © 2009–2016. All rights reserved.