com.sun.jersey.core.spi.component
Class AccessibleObjectContext
java.lang.Object
com.sun.jersey.core.spi.component.AccessibleObjectContext
- All Implemented Interfaces:
- ComponentContext
public class AccessibleObjectContext
- extends java.lang.Object
- implements ComponentContext
A component context for an accessible object.
- Author:
- paulsandoz
Method Summary |
java.lang.reflect.AccessibleObject |
getAccesibleObject()
Get the accessible object. |
java.lang.annotation.Annotation[] |
getAnnotations()
Get the array of annotations. |
void |
setAccesibleObject(java.lang.reflect.AccessibleObject ao)
|
void |
setAccesibleObject(java.lang.reflect.AccessibleObject ao,
java.lang.annotation.Annotation[] annotations)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessibleObjectContext
public AccessibleObjectContext()
AccessibleObjectContext
public AccessibleObjectContext(java.lang.reflect.AccessibleObject ao)
AccessibleObjectContext
public AccessibleObjectContext(java.lang.reflect.AccessibleObject ao,
java.lang.annotation.Annotation[] annotations)
setAccesibleObject
public void setAccesibleObject(java.lang.reflect.AccessibleObject ao)
setAccesibleObject
public void setAccesibleObject(java.lang.reflect.AccessibleObject ao,
java.lang.annotation.Annotation[] annotations)
getAccesibleObject
public java.lang.reflect.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 java.lang.annotation.Annotation[] getAnnotations()
- Description copied from interface:
ComponentContext
- Get the array of annotations.
- Specified by:
getAnnotations
in interface ComponentContext
- Returns:
- the array of annotations.
Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.