org.jboss.weld.bean.interceptor
Class CustomInterceptorMetadata

java.lang.Object
  extended by 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

Constructor Summary
CustomInterceptorMetadata(SerializableContextualInterceptorReference serializableContextualInterceptorReference, ClassMetadata<?> classMetadata)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomInterceptorMetadata

public CustomInterceptorMetadata(SerializableContextualInterceptorReference serializableContextualInterceptorReference,
                                 ClassMetadata<?> classMetadata)
Method Detail

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.