org.jboss.weld.bean.interceptor
Class CustomInterceptorMetadata
java.lang.Object
org.jboss.weld.bean.interceptor.CustomInterceptorMetadata
- All Implemented Interfaces:
- Serializable, InterceptorMetadata<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>>
public class CustomInterceptorMetadata
- extends Object
- implements InterceptorMetadata<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>>
- Author:
- Marius Bogoevici
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomInterceptorMetadata
public CustomInterceptorMetadata(SerializableContextualInterceptorReference serializableContextualInterceptorReference,
ClassMetadata<?> classMetadata)
getInterceptorReference
public InterceptorReference<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>> getInterceptorReference()
- Description copied from interface:
InterceptorMetadata
- Returns the class for which this interceptor metadata was created
- Specified by:
getInterceptorReference
in interface InterceptorMetadata<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>>
- Returns:
getInterceptorClass
public ClassMetadata<?> getInterceptorClass()
- Specified by:
getInterceptorClass
in interface InterceptorMetadata<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>>
isEligible
public boolean isEligible(InterceptionType interceptionType)
- Description copied from interface:
InterceptorMetadata
- Returns true if the interceptor corresponding to this
InterceptorMetadata
has interceptor methods for the given interceptionType
. Else returns false.
- Specified by:
isEligible
in interface InterceptorMetadata<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>>
- Parameters:
interceptionType
- The InterceptionType
- Returns:
getInterceptorInvocation
public InterceptorInvocation getInterceptorInvocation(Object interceptorInstance,
InterceptorMetadata interceptorReference,
InterceptionType interceptionType)
- Specified by:
getInterceptorInvocation
in interface InterceptorMetadata<org.jboss.weld.serialization.spi.helpers.SerializableContextual<javax.enterprise.inject.spi.Interceptor<?>,?>>
Copyright © 2013 Seam Framework. All Rights Reserved.