org.springframework.roo.addon.property.editor
Annotation Type RooEditor


@Retention(value=SOURCE)
@Target(value=TYPE)
public @interface RooEditor

Indicates a type that requires ROO property editor support.

This annotation will cause ROO to produce code that would typically appear in a property editor which, in turn is required by 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.

There are two cases in which ROO will not emit one or more of the above artifacts:

Since:
1.0
Author:
Stefan Schmidt

Required Element Summary
 Class<?> providePropertyEditorFor
          Every editor is responsible for a single java object.
 

Element Detail

providePropertyEditorFor

public abstract Class<?> providePropertyEditorFor
Every editor is responsible for a single java object. The editor will be created for the object defined here.



Copyright © 2011. All Rights Reserved.