Annotation Interface StateRebuilding


@Target({METHOD,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented @Inherited public @interface StateRebuilding
Annotation to be used in favor of defining StateRebuildingHandlerDefinition Beans.

It can be placed on public methods returning a non-primitive Object representing the StateRebuildingHandlerDefinition.instanceClass() and with at least one non-primitive parameter extending Object representing an assignable StateRebuildingHandlerDefinition.eventClass() Additionally such methods may have any of the following unique parameter types, in any order:

The method must be contained within an AnnotatedBeanDefinition, for instance within Components or Configurations.

See Also: