|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface InCookieProperty
Declares that the bean property that corresponds to the annotated setter will be used as an incookie. The name of the incookie will be the name of the property.
When the element is processed, the value of the cookie will be injected
into the element through the setter and RIFE's type conversion will try to
convert the cookie's string value into the property type. A
IncookieInjectionException exception will be thrown if the
conversion failed.
InCookie| Optional Element Summary | |
|---|---|
String |
defaultValue
The default value of the incookie. |
String |
name
The expected name of the property. |
public abstract String name
This hasn't got any influence on the actual name that is being used for the property, but is used instead to ensure that the property name is the same as the one specified here. This is typically used to create a single point of declaration for the property name that can be referenced elsewhere and that is ensured to be correct.
public abstract String defaultValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||