org.vraptor.annotations
Annotation Type Out


@Target(value={FIELD,METHOD})
@Documented
@Retention(value=RUNTIME)
public @interface Out

Field outjection: describes a field as to be outjected after logic execution. It also could be used to outject the return object of a method.

Author:
Guilherme Silveira

Optional Element Summary
 String key
          Uses the field name if no value is provided
 ScopeType scope
          Which scope should be used to outject the object
 

scope

public abstract ScopeType scope
Which scope should be used to outject the object

Returns:
scope
Default:
org.vraptor.scope.ScopeType.REQUEST

key

public abstract String key
Uses the field name if no value is provided

Returns:
default value is the field name itself
Default:
""


Copyright © 2004-2008 VRaptor. All Rights Reserved.