public class CustomInterceptorMetadata extends Object implements InterceptorMetadata<SerializableContextual<Interceptor<?>,?>>
| Constructor and Description |
|---|
CustomInterceptorMetadata(SerializableContextualInterceptorReference serializableContextualInterceptorReference,
ClassMetadata<?> classMetadata) |
| Modifier and Type | Method and Description |
|---|---|
ClassMetadata<?> |
getInterceptorClass() |
InterceptorInvocation |
getInterceptorInvocation(Object interceptorInstance,
InterceptorMetadata interceptorReference,
InterceptionType interceptionType) |
InterceptorReference<SerializableContextual<Interceptor<?>,?>> |
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. |
public CustomInterceptorMetadata(SerializableContextualInterceptorReference serializableContextualInterceptorReference, ClassMetadata<?> classMetadata)
public InterceptorReference<SerializableContextual<Interceptor<?>,?>> getInterceptorReference()
InterceptorMetadatagetInterceptorReference in interface InterceptorMetadata<SerializableContextual<Interceptor<?>,?>>public ClassMetadata<?> getInterceptorClass()
getInterceptorClass in interface InterceptorMetadata<SerializableContextual<Interceptor<?>,?>>public boolean isEligible(InterceptionType interceptionType)
InterceptorMetadataInterceptorMetadata
has interceptor methods for the given interceptionType. Else returns false.isEligible in interface InterceptorMetadata<SerializableContextual<Interceptor<?>,?>>interceptionType - The InterceptionTypepublic InterceptorInvocation getInterceptorInvocation(Object interceptorInstance, InterceptorMetadata interceptorReference, InterceptionType interceptionType)
getInterceptorInvocation in interface InterceptorMetadata<SerializableContextual<Interceptor<?>,?>>Copyright © 2012 Seam Framework. All Rights Reserved.