com.sun.jersey.api.model
Class AbstractMethod

java.lang.Object
  extended by com.sun.jersey.api.model.AbstractMethod
All Implemented Interfaces:
AnnotatedElement
Direct Known Subclasses:
AbstractImplicitViewMethod, AbstractResourceMethod, AbstractSetterMethod, AbstractSubResourceLocator

public abstract class AbstractMethod
extends Object
implements AnnotatedElement

Author:
Paul.Sandoz@Sun.Com

Constructor Summary
AbstractMethod(AbstractResource resource, Method method, Annotation[] annotations)
           
 
Method Summary
<T extends Annotation>
T
getAnnotation(Class<T> annotationType)
           
 Annotation[] getAnnotations()
           
 Annotation[] getDeclaredAnnotations()
           
 Method getMethod()
           
 AbstractResource getResource()
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMethod

public AbstractMethod(AbstractResource resource,
                      Method method,
                      Annotation[] annotations)
Method Detail

getResource

public AbstractResource getResource()

getMethod

public Method getMethod()

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationType)
Specified by:
getAnnotation in interface AnnotatedElement

getAnnotations

public Annotation[] getAnnotations()
Specified by:
getAnnotations in interface AnnotatedElement

getDeclaredAnnotations

public Annotation[] getDeclaredAnnotations()
Specified by:
getDeclaredAnnotations in interface AnnotatedElement

isAnnotationPresent

public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
Specified by:
isAnnotationPresent in interface AnnotatedElement


Copyright © 2013 Oracle Corporation. All Rights Reserved.