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

All Superinterfaces:
Serializable
All Known Implementing Classes:
CustomInterceptorMetadata, SimpleInterceptorMetadata

public interface InterceptorMetadata<T>
extends Serializable

This class is parametrized for

Author:
Marius Bogoevici

Method Summary
 ClassMetadata<?> getInterceptorClass()
           
 InterceptorInvocation getInterceptorInvocation(Object interceptorInstance, InterceptorMetadata interceptorReference, InterceptionType interceptionType)
           
 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.
 

Method Detail

getInterceptorReference

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

Returns:

getInterceptorClass

ClassMetadata<?> getInterceptorClass()

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:

getInterceptorInvocation

InterceptorInvocation getInterceptorInvocation(Object interceptorInstance,
                                               InterceptorMetadata interceptorReference,
                                               InterceptionType interceptionType)


Copyright © 2013 Seam Framework. All Rights Reserved.