org.jboss.kernel.plugins.annotations.wb
Class WBInjectionResolver

java.lang.Object
  extended by org.jboss.kernel.plugins.annotations.wb.WBInjectionResolver

public class WBInjectionResolver
extends Object

Web beans injection resolver.

Author:
Ales Justin

Constructor Summary
WBInjectionResolver()
           
 
Method Summary
static void addExcludedAnnotation(Class<? extends Annotation> annotationClass)
          Add excluded annotations.
static KernelControllerContext resolve(KernelController controller, Class<?> type, Annotation[] annotations)
          Find matching controller context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WBInjectionResolver

public WBInjectionResolver()
Method Detail

addExcludedAnnotation

public static void addExcludedAnnotation(Class<? extends Annotation> annotationClass)
Add excluded annotations.

Parameters:
annotationClass - the excluded annotation's class.

resolve

public static KernelControllerContext resolve(KernelController controller,
                                              Class<?> type,
                                              Annotation[] annotations)
Find matching controller context.

Parameters:
controller - the kernel controller
type - the matching type
annotations - the filter annotations
Returns:
single matching context or null if none or multiple


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.