com.sun.jersey.core.spi.component
Class AnnotatedContext
java.lang.Object
com.sun.jersey.core.spi.component.AnnotatedContext
- All Implemented Interfaces:
- ComponentContext
public class AnnotatedContext
- extends Object
- implements ComponentContext
A component context for an accessible object and/or an array of annotations.
- Author:
- Paul.Sandoz@Oracle.Com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatedContext
public AnnotatedContext()
AnnotatedContext
public AnnotatedContext(Annotation[] annotations)
AnnotatedContext
public AnnotatedContext(AccessibleObject ao)
AnnotatedContext
public AnnotatedContext(AccessibleObject ao,
Annotation[] annotations)
setAnnotations
public void setAnnotations(Annotation[] annotations)
setAccessibleObject
public void setAccessibleObject(AccessibleObject ao)
getAccesibleObject
public AccessibleObject getAccesibleObject()
- Description copied from interface:
ComponentContext
- Get the accessible object.
- Specified by:
getAccesibleObject
in interface ComponentContext
- Returns:
- the accessible object, may be null.
getAnnotations
public Annotation[] getAnnotations()
- Description copied from interface:
ComponentContext
- Get the array of annotations.
- Specified by:
getAnnotations
in interface ComponentContext
- Returns:
- the array of annotations.
Copyright © 2013 Oracle Corporation. All Rights Reserved.