pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.annotations
Annotation Type RequestBean.Parameter


@Documented
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public static @interface RequestBean.Parameter

marks either fields or methods to be injected with a parameter.

Methods annotated with @RequestBean.Parameter must take exactly one argument of one of the acceptable types.
Fields annotated with @RequestBean.Parameter must be of one of the acceptable types.
The acceptable types are:
String, String[], Collection<String>, Set<String>, List<String> or Parameter.

Please take not that using Sets as the destination type will eliminate duplicate values as this is the contract established by Set.


Required Element Summary
 java.lang.String value
          the name of the Parameter to be used for injecting the value.
 

Element Detail

value

public abstract java.lang.String value
the name of the Parameter to be used for injecting the value.

See Also:
Command