@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface Handler
MethodHandler,
to be used to handle method invocations.
When declared on a method, the specified method handler will handle
invocations of the method under the declaration.
When declared on a class, the specified method handler will handle
invocations of all methods of the class that do not have their own
Handler declaration.MethodHandler,
DefaultMethodHandler| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
beanName
Bean name.
|
java.lang.Class<? extends MethodHandler> |
beanType
Bean type.
|
java.lang.String |
value
Bean name.
|
@AliasFor(value="beanName") public abstract java.lang.String value
public abstract java.lang.Class<? extends MethodHandler> beanType