public class AnnotatedContext extends java.lang.Object implements ComponentContext
Constructor and Description |
---|
AnnotatedContext() |
AnnotatedContext(java.lang.reflect.AccessibleObject ao) |
AnnotatedContext(java.lang.reflect.AccessibleObject ao,
java.lang.annotation.Annotation[] annotations) |
AnnotatedContext(java.lang.annotation.Annotation[] annotations) |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.AccessibleObject |
getAccesibleObject()
Get the accessible object.
|
java.lang.annotation.Annotation[] |
getAnnotations()
Get the array of annotations.
|
void |
setAccessibleObject(java.lang.reflect.AccessibleObject ao) |
void |
setAnnotations(java.lang.annotation.Annotation[] annotations) |
public AnnotatedContext()
public AnnotatedContext(java.lang.annotation.Annotation[] annotations)
public AnnotatedContext(java.lang.reflect.AccessibleObject ao)
public AnnotatedContext(java.lang.reflect.AccessibleObject ao, java.lang.annotation.Annotation[] annotations)
public void setAnnotations(java.lang.annotation.Annotation[] annotations)
public void setAccessibleObject(java.lang.reflect.AccessibleObject ao)
public java.lang.reflect.AccessibleObject getAccesibleObject()
ComponentContext
getAccesibleObject
in interface ComponentContext
public java.lang.annotation.Annotation[] getAnnotations()
ComponentContext
getAnnotations
in interface ComponentContext
Copyright © 2016 Oracle Corporation. All Rights Reserved.