Annotation Interface PersistenceCreator
@Retention(RUNTIME)
@Target({CONSTRUCTOR,METHOD,ANNOTATION_TYPE})
public @interface PersistenceCreator
Marker annotation to declare a constructor or factory method annotation as factory/preferred constructor annotation.
Properties used by the constructor (or factory method) must refer to persistent properties or be annotated with
@Value(…) to obtain a value for object creation.- Since:
- 3.0
- Author:
- Mark Paluch, Oliver Drotbohm