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()
InterceptorMetadata
getInterceptorReference
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)
InterceptorMetadata
InterceptorMetadata
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 InterceptionType
public 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 © 2013 Seam Framework. All rights reserved.