JBoss EJB 3.1 Common Interceptor Library Parent 2.0.0.Final

org.jboss.interceptor.spi.metadata
Interface InterceptorMetadata<T>

All Superinterfaces:
Serializable
All Known Implementing Classes:
SimpleInterceptorMetadata

public interface InterceptorMetadata<T>
extends Serializable

This class is parametrized for

Author:
Marius Bogoevici

Method Summary
 ClassMetadata<?> getInterceptorClass()
           
 List<MethodMetadata> getInterceptorMethods(InterceptionType interceptionType)
          Returns the list of interceptor methods of this class for a given interception type.
 InterceptorReference<T> getInterceptorReference()
          Returns the class for which this interceptor metadata was created
 boolean isEligible(InterceptionType interceptionType)
          Returns true if the interceptor corresponding to this InterceptorMetadata has interceptor methods for the given interceptionType.
 boolean isTargetClass()
           
 

Method Detail

getInterceptorReference

InterceptorReference<T> getInterceptorReference()
Returns the class for which this interceptor metadata was created

Returns:

getInterceptorClass

ClassMetadata<?> getInterceptorClass()

getInterceptorMethods

List<MethodMetadata> getInterceptorMethods(InterceptionType interceptionType)
Returns the list of interceptor methods of this class for a given interception type.

Parameters:
interceptionType -
Returns:
a list of methods

isEligible

boolean isEligible(InterceptionType interceptionType)
Returns true if the interceptor corresponding to this InterceptorMetadata has interceptor methods for the given interceptionType. Else returns false.

Parameters:
interceptionType - The InterceptionType
Returns:

isTargetClass

boolean isTargetClass()

JBoss EJB 3.1 Common Interceptor Library Parent 2.0.0.Final

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