public class CustomInterceptorMetadata extends Object implements InterceptorMetadata<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.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<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.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. |
String |
toString() |
public CustomInterceptorMetadata(SerializableContextualInterceptorReference serializableContextualInterceptorReference, ClassMetadata<?> classMetadata)
public InterceptorReference<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>> getInterceptorReference()
InterceptorMetadatagetInterceptorReference in interface InterceptorMetadata<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>>public ClassMetadata<?> getInterceptorClass()
getInterceptorClass in interface InterceptorMetadata<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>>public boolean isEligible(InterceptionType interceptionType)
InterceptorMetadataInterceptorMetadata
has interceptor methods for the given interceptionType. Else returns false.isEligible in interface InterceptorMetadata<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>>interceptionType - The InterceptionTypepublic InterceptorInvocation getInterceptorInvocation(Object interceptorInstance, InterceptorMetadata interceptorReference, InterceptionType interceptionType)
getInterceptorInvocation in interface InterceptorMetadata<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>>Copyright © 2014 Seam Framework. All Rights Reserved.