@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
-
Element Details
-
value
String valueThe 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>"
-