Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.ioc
Interface AnnotationProvider

All Known Subinterfaces:
  BeanEditContext, Binding, ClassTransformation, InternalPropBinding, InternalPropertyConduit, PropertyAdapter, PropertyConduit, PropertyEditContext, PropertyModel, TransformField, TransformMethod

All Known Implementing Classes:
  AbstractBinding, AccessableObjectAnnotationProvider, AnnotationProviderChain, AssetBinding, AttributeExpansionBinding, BeanEditContextImpl, BlockBinding, BridgeClassTransformation, CoercingPropertyConduitWrapper, ComponentBinding, InvariantBinding, LiteralBinding, LiteralPropertyConduit, NullAnnotationProvider, PropBinding, PropertyAdapterImpl, PropertyModelImpl, RenderVariableBinding

    public interface AnnotationProvider

A source of annotations. This interface is used to mask where the annotations come from (for example, from a Method, a Class, or some other source).

Method Summary
`
`<T extends java.lang.annotation.Annotation> T`
` | `getAnnotation(java.lang.Class<T> annotationClass)` Searches for the specified annotation, returning the matching annotation instance.

Method Detail

### getAnnotation

    <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)

  Searches for the specified annotation, returning the matching annotation instance.

  Type Parameters:
    `T` -
  Parameters:
    `annotationClass` - used to select the annotation to return
  Returns:
    the annotation, or null if not found

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.