|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface Bind
This annotation defines complex object binding operation.
Each property must be included in properties() to be injected into object.
Property getters and setters are required to ensure proper working of binding.
Currently, this annotation is processed only in action classes.
Implementations of BindingsProcessor are used to process this annotation.
Default bindings processor and default binding engine can be changed by setting correspondent property in jwebsocket.xml.
Default binding engine,
Bindings processor| Required Element Summary | |
|---|---|
Property[] |
properties
List of included properties. |
| Optional Element Summary | |
|---|---|
java.lang.Class<? extends BindingEngine> |
engine
Engine used to process this annotation. |
java.lang.String |
rootName
Name of the token element that will be used as root by binding engine. |
| Element Detail |
|---|
public abstract Property[] properties
public abstract java.lang.String rootName
public abstract java.lang.Class<? extends BindingEngine> engine
Default binding engine
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||