com.sun.jersey.api.model
Class AbstractMethod
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMethod
public AbstractMethod(AbstractResource resource,
Method method,
Annotation[] annotations)
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.