|
|
|
@ -35,7 +35,7 @@ public interface JmxAttributeSource { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Implementations should return an instance of {@code ManagedResource} |
|
|
|
* Implementations should return an instance of {@code ManagedResource} |
|
|
|
* if the supplied {@code Class} has the appropriate metadata. |
|
|
|
* if the supplied {@code Class} has the appropriate metadata. |
|
|
|
* Otherwise should return {@code null}. |
|
|
|
* Otherwise, should return {@code null}. |
|
|
|
* @param clazz the class to read the attribute data from |
|
|
|
* @param clazz the class to read the attribute data from |
|
|
|
* @return the attribute, or {@code null} if not found |
|
|
|
* @return the attribute, or {@code null} if not found |
|
|
|
* @throws InvalidMetadataException in case of invalid attributes |
|
|
|
* @throws InvalidMetadataException in case of invalid attributes |
|
|
|
@ -46,7 +46,7 @@ public interface JmxAttributeSource { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Implementations should return an instance of {@code ManagedAttribute} |
|
|
|
* Implementations should return an instance of {@code ManagedAttribute} |
|
|
|
* if the supplied {@code Method} has the corresponding metadata. |
|
|
|
* if the supplied {@code Method} has the corresponding metadata. |
|
|
|
* Otherwise should return {@code null}. |
|
|
|
* Otherwise, should return {@code null}. |
|
|
|
* @param method the method to read the attribute data from |
|
|
|
* @param method the method to read the attribute data from |
|
|
|
* @return the attribute, or {@code null} if not found |
|
|
|
* @return the attribute, or {@code null} if not found |
|
|
|
* @throws InvalidMetadataException in case of invalid attributes |
|
|
|
* @throws InvalidMetadataException in case of invalid attributes |
|
|
|
@ -57,7 +57,7 @@ public interface JmxAttributeSource { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Implementations should return an instance of {@code ManagedMetric} |
|
|
|
* Implementations should return an instance of {@code ManagedMetric} |
|
|
|
* if the supplied {@code Method} has the corresponding metadata. |
|
|
|
* if the supplied {@code Method} has the corresponding metadata. |
|
|
|
* Otherwise should return {@code null}. |
|
|
|
* Otherwise, should return {@code null}. |
|
|
|
* @param method the method to read the attribute data from |
|
|
|
* @param method the method to read the attribute data from |
|
|
|
* @return the metric, or {@code null} if not found |
|
|
|
* @return the metric, or {@code null} if not found |
|
|
|
* @throws InvalidMetadataException in case of invalid attributes |
|
|
|
* @throws InvalidMetadataException in case of invalid attributes |
|
|
|
@ -68,7 +68,7 @@ public interface JmxAttributeSource { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Implementations should return an instance of {@code ManagedOperation} |
|
|
|
* Implementations should return an instance of {@code ManagedOperation} |
|
|
|
* if the supplied {@code Method} has the corresponding metadata. |
|
|
|
* if the supplied {@code Method} has the corresponding metadata. |
|
|
|
* Otherwise should return {@code null}. |
|
|
|
* Otherwise, should return {@code null}. |
|
|
|
* @param method the method to read the attribute data from |
|
|
|
* @param method the method to read the attribute data from |
|
|
|
* @return the attribute, or {@code null} if not found |
|
|
|
* @return the attribute, or {@code null} if not found |
|
|
|
* @throws InvalidMetadataException in case of invalid attributes |
|
|
|
* @throws InvalidMetadataException in case of invalid attributes |
|
|
|
@ -78,7 +78,7 @@ public interface JmxAttributeSource { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Implementations should return an array of {@code ManagedOperationParameter} |
|
|
|
* Implementations should return an array of {@code ManagedOperationParameter} |
|
|
|
* if the supplied {@code Method} has the corresponding metadata. Otherwise |
|
|
|
* if the supplied {@code Method} has the corresponding metadata. Otherwise, |
|
|
|
* should return an empty array if no metadata is found. |
|
|
|
* should return an empty array if no metadata is found. |
|
|
|
* @param method the {@code Method} to read the metadata from |
|
|
|
* @param method the {@code Method} to read the metadata from |
|
|
|
* @return the parameter information. |
|
|
|
* @return the parameter information. |
|
|
|
@ -88,7 +88,7 @@ public interface JmxAttributeSource { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Implementations should return an array of {@link ManagedNotification ManagedNotifications} |
|
|
|
* Implementations should return an array of {@link ManagedNotification ManagedNotifications} |
|
|
|
* if the supplied the {@code Class} has the corresponding metadata. Otherwise |
|
|
|
* if the supplied {@code Class} has the corresponding metadata. Otherwise, |
|
|
|
* should return an empty array. |
|
|
|
* should return an empty array. |
|
|
|
* @param clazz the {@code Class} to read the metadata from |
|
|
|
* @param clazz the {@code Class} to read the metadata from |
|
|
|
* @return the notification information |
|
|
|
* @return the notification information |
|
|
|
|