org.apache.webbeans.intercept
Class WebBeansInterceptorConfig

java.lang.Object
  extended by org.apache.webbeans.intercept.WebBeansInterceptorConfig

public final class WebBeansInterceptorConfig
extends java.lang.Object

Configures the Web Beans related interceptors.

Version:
$Rev$ $Date$
Author:
Gurkan Erdogdu
See Also:
WebBeansInterceptor

Constructor Summary
WebBeansInterceptorConfig(WebBeansContext webBeansContext)
           
 
Method Summary
 void addComponentInterceptors(AbstractOwbBean<?> bean, java.util.Set<javax.enterprise.inject.spi.Interceptor<?>> set, java.util.List<InterceptorData> stack)
           
 void configure(AbstractInjectionTargetBean<?> component, java.util.List<InterceptorData> stack)
          Configures the given class for applicable interceptors.
<T> void
configureInterceptorClass(AbstractInjectionTargetBean<T> delegate, java.lang.annotation.Annotation[] interceptorBindingTypes)
          Configures WebBeans specific interceptor class.
 java.util.Set<javax.enterprise.inject.spi.Interceptor<?>> findDeployedWebBeansInterceptor(java.lang.annotation.Annotation[] anns, WebBeansContext webBeansContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebBeansInterceptorConfig

public WebBeansInterceptorConfig(WebBeansContext webBeansContext)
Method Detail

configureInterceptorClass

public <T> void configureInterceptorClass(AbstractInjectionTargetBean<T> delegate,
                                          java.lang.annotation.Annotation[] interceptorBindingTypes)
Configures WebBeans specific interceptor class.

Parameters:
interceptorBindingTypes - interceptor class

configure

public void configure(AbstractInjectionTargetBean<?> component,
                      java.util.List<InterceptorData> stack)
Configures the given class for applicable interceptors.


addComponentInterceptors

public void addComponentInterceptors(AbstractOwbBean<?> bean,
                                     java.util.Set<javax.enterprise.inject.spi.Interceptor<?>> set,
                                     java.util.List<InterceptorData> stack)

findDeployedWebBeansInterceptor

public java.util.Set<javax.enterprise.inject.spi.Interceptor<?>> findDeployedWebBeansInterceptor(java.lang.annotation.Annotation[] anns,
                                                                                                 WebBeansContext webBeansContext)


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.