org.apache.webbeans.intercept
Class WebBeansInterceptorConfig

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

public final class WebBeansInterceptorConfig
extends Object

Configures the Web Beans related interceptors.

Since:
1.0
Author:
Gurkan Erdogdu
See Also:
WebBeansInterceptor

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

Method Detail

configureInterceptorClass

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

Parameters:
interceptorClazz - interceptor class

configure

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

Parameters:
clazz - configuration interceptors for this

addComponentInterceptors

public static void addComponentInterceptors(Set<Interceptor<?>> set,
                                            List<InterceptorData> stack)

findDeployedWebBeansInterceptor

public static Set<Interceptor<?>> findDeployedWebBeansInterceptor(Annotation[] anns)


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