JmxAttributeSource interface that
reads annotations and exposes the corresponding attributes.
ManagedResource, ManagedAttribute, ManagedOperation
| Modifier and Type | Field and Description |
|---|---|
| private StringValueResolver |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static <T> T | |
| private static <T> T[] | |
| public ManagedAttribute | getManagedAttribute(Method
the method to read the attribute data from method)Implements org. Implementations should return an instance of |
| public ManagedMetric | getManagedMetric(Method
the method to read the attribute data from method)Implements org. Implementations should return an instance of |
| public ManagedNotification[] | getManagedNotifications(Class<?>
the clazz)Class to read the metadata fromImplements org. Implementations should return an array of |
| public ManagedOperation | getManagedOperation(Method
the method to read the attribute data from method)Implements org. Implementations should return an instance of |
| public ManagedOperationParameter[] | getManagedOperationParameters(Method
the method)Method to read the metadata fromImplements org. Implementations should return an array of |
| public ManagedResource | getManagedResource(Class<?>
the class to read the attribute data from beanClass)Implements org. Implementations should return an instance of |
| private static List | getRepeatableAnnotations(AnnotatedElement annotatedElement, Class<? extends Annotation> annotationType, Class<? extends Annotation> containerAnnotationType)
|
| public void | setBeanFactory(BeanFactory
owning BeanFactory (never beanFactory)null).
The bean can immediately call methods on the factory.Implements org. Callback that supplies the owning factory to a bean instance. |
| embeddedValueResolver | back to summary |
|---|---|
| private StringValueResolver embeddedValueResolver
| |
| AnnotationJmxAttributeSource | back to summary |
|---|---|
| public AnnotationJmxAttributeSource() | |
| copyPropertiesToBean | back to summary |
|---|---|
private static <T> T copyPropertiesToBean(MergedAnnotation<? extends Annotation> ann, Class<T> beanClass)
| |
| copyPropertiesToBeanArray | back to summary |
|---|---|
private static <T> T[] copyPropertiesToBeanArray(List<MergedAnnotation<? extends Annotation>> anns, Class<T> beanClass)
| |
| getManagedAttribute | back to summary |
|---|---|
| public ManagedAttribute getManagedAttribute(Method method) throws InvalidMetadataException Implements org. Doc from org. Implementations should return an instance of
| |
| getManagedMetric | back to summary |
|---|---|
| public ManagedMetric getManagedMetric(Method method) throws InvalidMetadataException Implements org. Doc from org. Implementations should return an instance of
| |
| getManagedNotifications | back to summary |
|---|---|
| public ManagedNotification[] getManagedNotifications(Class<?> clazz) throws InvalidMetadataException Implements org. Doc from org. Implementations should return an array of
| |
| getManagedOperation | back to summary |
|---|---|
| public ManagedOperation getManagedOperation(Method method) throws InvalidMetadataException Implements org. Doc from org. Implementations should return an instance of
| |
| getManagedOperationParameters | back to summary |
|---|---|
| public ManagedOperationParameter[] getManagedOperationParameters(Method method) throws InvalidMetadataException Implements org. Doc from org. Implementations should return an array of
| |
| getManagedResource | back to summary |
|---|---|
| public ManagedResource getManagedResource(Class<?> beanClass) throws InvalidMetadataException Implements org. Doc from org. Implementations should return an instance of
| |
| getRepeatableAnnotations | back to summary |
|---|---|
| private static List | |
| setBeanFactory | back to summary |
|---|---|
| public void setBeanFactory(BeanFactory beanFactory) Implements org. Doc from org. Callback that supplies the owning factory to a bean instance. Invoked after the population of normal bean properties
but before an initialization callback such as
| |