org.jboss.wsf.common.reflection
Interface AnnotationAware<A extends java.lang.annotation.Annotation>

All Known Implementing Classes:
AbstractAnnotatedClassProcessor, AnnotatedFieldFinder, AnnotatedMethodFinder, EJBFieldFinder, EJBMethodFinder, PostConstructMethodFinder, PreDestroyMethodFinder, ResourceFieldFinder, ResourceMethodFinder

public interface AnnotationAware<A extends java.lang.annotation.Annotation>

This interface allows to obtain annotation from annotation aware objects.

Author:
ropalka@redhat.com

Method Summary
 java.lang.Class<A> getAnnotation()
          Returns annotation class associated with object.
 

Method Detail

getAnnotation

java.lang.Class<A> getAnnotation()
Returns annotation class associated with object.

Returns:
annotation


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.