JBoss EJB 3.1 Common Interceptor Library Parent 2.0.0.Final

org.jboss.interceptor.reader
Class DefaultMethodMetadata<M>

java.lang.Object
  extended by org.jboss.interceptor.reader.DefaultMethodMetadata<M>
All Implemented Interfaces:
Serializable, MethodMetadata

public class DefaultMethodMetadata<M>
extends Object
implements MethodMetadata, Serializable

Represents information about an interceptor method

Author:
Marius Bogoevici
See Also:
Serialized Form

Method Summary
 Method getJavaMethod()
           
 Class<?> getReturnType()
           
 Set<InterceptionType> getSupportedInterceptionTypes()
           
static
<M> MethodMetadata
of(M methodReference, AnnotatedMethodReader<M> methodReader)
           
static MethodMetadata of(Method method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

of

public static <M> MethodMetadata of(M methodReference,
                                    AnnotatedMethodReader<M> methodReader)

of

public static MethodMetadata of(Method method)

getSupportedInterceptionTypes

public Set<InterceptionType> getSupportedInterceptionTypes()
Specified by:
getSupportedInterceptionTypes in interface MethodMetadata

getJavaMethod

public Method getJavaMethod()
Specified by:
getJavaMethod in interface MethodMetadata

getReturnType

public Class<?> getReturnType()
Specified by:
getReturnType in interface MethodMetadata

JBoss EJB 3.1 Common Interceptor Library Parent 2.0.0.Final

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.