org.jboss.cdi.tck.util
Class AddForwardingAnnotatedTypeAction<X>

java.lang.Object
  extended by org.jboss.cdi.tck.util.ForwardingAnnotated
      extended by org.jboss.cdi.tck.util.ForwardingAnnotatedType<X>
          extended by org.jboss.cdi.tck.util.AddForwardingAnnotatedTypeAction<X>
All Implemented Interfaces:
javax.enterprise.inject.spi.Annotated, javax.enterprise.inject.spi.AnnotatedType<X>

public abstract class AddForwardingAnnotatedTypeAction<X>
extends ForwardingAnnotatedType<X>
implements javax.enterprise.inject.spi.AnnotatedType<X>

Tests should use this abstraction when adding new custom AnnotatedType during BeforeBeanDiscovery notification. See also CDI-58.

Author:
Martin Kouba

Constructor Summary
AddForwardingAnnotatedTypeAction()
           
 
Method Summary
static String buildId(String baseId, Class<?> javaClass)
           
abstract  String getBaseId()
           
 String getId()
           
 void perform(javax.enterprise.inject.spi.BeforeBeanDiscovery event)
           
 
Methods inherited from class org.jboss.cdi.tck.util.ForwardingAnnotatedType
delegate, getConstructors, getFields, getJavaClass, getMethods
 
Methods inherited from class org.jboss.cdi.tck.util.ForwardingAnnotated
equals, getAnnotation, getAnnotations, getBaseType, getTypeClosure, hashCode, isAnnotationPresent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.enterprise.inject.spi.AnnotatedType
getConstructors, getFields, getJavaClass, getMethods
 
Methods inherited from interface javax.enterprise.inject.spi.Annotated
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
 

Constructor Detail

AddForwardingAnnotatedTypeAction

public AddForwardingAnnotatedTypeAction()
Method Detail

getBaseId

public abstract String getBaseId()

getId

public String getId()

perform

public void perform(javax.enterprise.inject.spi.BeforeBeanDiscovery event)

buildId

public static String buildId(String baseId,
                             Class<?> javaClass)


Copyright © 2008-2013 Seam Framework. All Rights Reserved.