org.spicefactory.pimento.config
Annotation Type Refreshable


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

Marks a property as refreshable from the perspective of the client. Useful for properties that will be modified by server side code each time an entity gets persisted or merged. An example would be a timestamp value that holds the time of the last modification. Properties marked with this annotation will be automatically synchronized in the client whenever that client persists or merges an entity of this type. It does not synchronize other connected clients though.

Author:
Jens Halm