public MBeanOperationInfo getOperationInfo ( String operationName ) throws OperationNotFoundException , UnsupportedEncodingException { String decodedOperationName = sanitizer . urlDecode ( operationName , encoding ) ; Map < String , MBeanOperationInfo > operationMap = getOperationMetadata ( ) ; if ( operationMap . containsKey ( decodedOperationName ) ) { return operationMap . get ( decodedOperationName ) ; } throw new OperationNotFoundException ( "Could not find operation " + operationName + " on MBean " + objectName . getCanonicalName ( ) ) ; }
Get the Operation metadata for a single operation on an MBean by name .