public class CustomInterceptorMetadata<T> extends Object implements InterceptorMetadata<T>
| Constructor and Description |
|---|
CustomInterceptorMetadata(CdiInterceptorFactory<T> factory,
ClassMetadata<?> classMetadata) |
| Modifier and Type | Method and Description |
|---|---|
ClassMetadata<?> |
getInterceptorClass() |
CdiInterceptorFactory<T> |
getInterceptorFactory()
Returns the class for which this interceptor metadata was created
|
InterceptorInvocation |
getInterceptorInvocation(Object interceptorInstance,
InterceptionType interceptionType) |
boolean |
isEligible(InterceptionType interceptionType)
Returns true if the interceptor corresponding to this
InterceptorMetadata
has interceptor methods for the given interceptionType. |
String |
toString() |
public CustomInterceptorMetadata(CdiInterceptorFactory<T> factory, ClassMetadata<?> classMetadata)
public CdiInterceptorFactory<T> getInterceptorFactory()
InterceptorMetadatagetInterceptorFactory in interface InterceptorMetadata<T>public ClassMetadata<?> getInterceptorClass()
getInterceptorClass in interface InterceptorMetadata<T>public boolean isEligible(InterceptionType interceptionType)
InterceptorMetadataInterceptorMetadata
has interceptor methods for the given interceptionType. Else returns false.isEligible in interface InterceptorMetadata<T>interceptionType - The InterceptionTypepublic InterceptorInvocation getInterceptorInvocation(Object interceptorInstance, InterceptionType interceptionType)
getInterceptorInvocation in interface InterceptorMetadata<T>Copyright © 2014 Seam Framework. All Rights Reserved.