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. AnnotatedType
s
discovered by the container use the fully qualified class name of
AnnotatedType.getJavaClass()
to identify the type.
- Author:
- Pete Muir
getID
String getID()
- The
AnnotatedType
identifier
Copyright © 2008-2012 JBoss by Red Hat, Inc.. All Rights Reserved.