spring-framework / org.springframework.jmx.export.metadata / JmxAttributeSource / getManagedOperation

getManagedOperation

@Nullable abstract fun getManagedOperation(method: Method): ManagedOperation

Implementations should return an instance of ManagedOperation if the supplied Method has the corresponding metadata. Otherwise should return null.

Parameters

method - the method to read the attribute data from

Exceptions

InvalidMetadataException - in case of invalid attributes

Return
the attribute, or null if not found