/** * Adds descriptor fields from the {@code ManagedAttribute} attribute * to the attribute descriptor. Specifically, adds the {@code currencyTimeLimit} * descriptor field if it is present in the metadata. */ @Override protected void populateOperationDescriptor(Descriptor desc, Method method, String beanKey) { ManagedOperation mo = obtainAttributeSource().getManagedOperation(method); if (mo != null) { applyCurrencyTimeLimit(desc, mo.getCurrencyTimeLimit()); } }
/** * Adds descriptor fields from the {@code ManagedAttribute} attribute * to the attribute descriptor. Specifically, adds the {@code currencyTimeLimit} * descriptor field if it is present in the metadata. */ @Override protected void populateOperationDescriptor(Descriptor desc, Method method, String beanKey) { ManagedOperation mo = obtainAttributeSource().getManagedOperation(method); if (mo != null) { applyCurrencyTimeLimit(desc, mo.getCurrencyTimeLimit()); } }
/** * Adds descriptor fields from the {@code ManagedAttribute} attribute to the attribute descriptor. Specifically, * adds the {@code currencyTimeLimit} descriptor field if it is present in the metadata. */ @Override protected void populateOperationDescriptor(@Nonnull Descriptor desc, Method method, String beanKey) { Method resolvedOperation = findJmxMethod(method, beanKey); ManagedOperation mo = this.attributeSource.getManagedOperation(resolvedOperation); applyRunAsync(desc, resolvedOperation); if (mo != null) { applyCurrencyTimeLimit(desc, mo.getCurrencyTimeLimit()); } }
/** * Adds descriptor fields from the {@code ManagedAttribute} attribute * to the attribute descriptor. Specifically, adds the {@code currencyTimeLimit} * descriptor field if it is present in the metadata. */ @Override protected void populateOperationDescriptor(Descriptor desc, Method method, String beanKey) { ManagedOperation mo = obtainAttributeSource().getManagedOperation(method); if (mo != null) { applyCurrencyTimeLimit(desc, mo.getCurrencyTimeLimit()); } }