Annotation Interface InvokeInBuddyDelegate


@Documented @Retention(RUNTIME) @Target(METHOD) @Interception(implementedBy=InvokeInBuddyDelegateInterceptor.class, type=HIDDEN) public @interface InvokeInBuddyDelegate
Annotation to redirect the method invocation to the buddy delegate.

If the annotated method is a domain method, the invocation will be redirected to the method in the persistence delegate, and vice versa.

This is a hidden interceptor.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The method name.
    If the name is missing the buddy delegate's method has the same name as the annotated one.
  • Element Details

    • value

      String value
      The method name.
      If the name is missing the buddy delegate's method has the same name as the annotated one.
      Returns:
      the optional method name
      Default:
      "<unknown>"