org.vraptor.annotations
Annotation Type Remotable


@Target(value=METHOD)
@Documented
@Retention(value=RUNTIME)
public @interface Remotable

Marks a logic method to give permission to serialize its results for remote clients, like AJAX and XML consumers

Author:
Paulo Silveira

Optional Element Summary
 int depth
          How deep should the outjected results be serialized.
 

depth

public abstract int depth
How deep should the outjected results be serialized. It must be a positive value. Be sure to keep this value as low as possible. The default value is 4.

Default:
4


Copyright © 2004-2008 VRaptor. All Rights Reserved.