|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.ioc.internal.services.AnnotationProviderChain
public class AnnotationProviderChain
Chain of command for AnnotationProvider
.
Constructor Summary | |
---|---|
AnnotationProviderChain(AnnotationProvider[] providers)
|
Method Summary | ||
---|---|---|
static AnnotationProvider |
create(java.util.List<AnnotationProvider> providers)
Creates an AnnotationProvider from the list of providers. |
|
|
getAnnotation(java.lang.Class<T> annotationClass)
Searches for the specified annotation, returning the matching annotation instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationProviderChain(AnnotationProvider[] providers)
Method Detail |
---|
public static AnnotationProvider create(java.util.List<AnnotationProvider> providers)
AnnotationProviderChain
or
the sole element in the list.
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
AnnotationProvider
getAnnotation
in interface AnnotationProvider
annotationClass
- used to select the annotation to return
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |