public class DefaultMethodMetadata<M> extends Object implements MethodMetadata, Serializable
Modifier and Type | Method and Description |
---|---|
Method |
getJavaMethod() |
Class<?> |
getReturnType() |
Set<InterceptionType> |
getSupportedInterceptionTypes() |
boolean |
isInterceptorMethod()
Returns true if the method is an interceptor method (it supports any interception type)
|
static <M> MethodMetadata |
of(M methodReference,
AnnotatedMethodReader<M> methodReader) |
static MethodMetadata |
of(Method method) |
public static <M> MethodMetadata of(M methodReference, AnnotatedMethodReader<M> methodReader)
public static MethodMetadata of(Method method)
public boolean isInterceptorMethod()
MethodMetadata
isInterceptorMethod
in interface MethodMetadata
public Set<InterceptionType> getSupportedInterceptionTypes()
getSupportedInterceptionTypes
in interface MethodMetadata
public Method getJavaMethod()
getJavaMethod
in interface MethodMetadata
public Class<?> getReturnType()
getReturnType
in interface MethodMetadata
Copyright © 2013 Seam Framework. All Rights Reserved.