Annotation Interface Delegate


@Documented @Retention(RUNTIME) @Target({ANNOTATION_TYPE,TYPE}) public @interface Delegate
The delegate annotation on a bean should create a delegate base class.
Since:
1.3
Author:
Andriy Dmytruk
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Define what the class that delegate should be created for.
  • Element Details

    • type

      Class<?> type
      Define what the class that delegate should be created for.
      Returns:
      The class to create delegate for
      Default:
      java.lang.Void.class