javax.enterprise.inject.spi
Interface IdentifiedAnnotatedType<X>

Type Parameters:
X - the type
All Superinterfaces:
Annotated, AnnotatedType<X>

public interface IdentifiedAnnotatedType<X>
extends AnnotatedType<X>

IdentifiedAnnotatedType allows multiple annotated types, based on the same underlying type, to be defined. If an AnnotatedType is an instance of IdentifiedAnnotatedType then getID() is used to identify the annotated type to the container, otherwise the fully qualified class name of AnnotatedType.getJavaClass() is used to identify the type. AnnotatedTypes discovered by the container use the fully qualified class name of AnnotatedType.getJavaClass() to identify the type.

Author:
Pete Muir

Method Summary
 String getID()
          The AnnotatedType identifier
 
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
 

Method Detail

getID

String getID()
The AnnotatedType identifier



Copyright © 2008-2012 JBoss by Red Hat, Inc.. All Rights Reserved.