Package com.blazebit.persistence.view
Annotation Type PostCreate
@Target(METHOD) @Retention(RUNTIME) public @interface PostCreate
Annotation to mark a method to be executed after a call to
EntityViewManager.create(Class)
.
A method annotated with @PostCreate
must define no or a single parameter of the type EntityViewManager
.
There may only be one method in a class annotated with @PostCreate
and it must return void
.
Super type methods annotated with @PostCreate
are ignored if an entity view defines a @PostCreate
method.- Since:
- 1.2.0
- Author:
- Christian Beikov