Skip to content

DELTASPIKE-1185 Allow customization (name, description) of JMX managed...#59

Merged
asfgit merged 1 commit intoapache:masterfrom
kalgon:DELTASPIKE-1185
Jul 22, 2016
Merged

DELTASPIKE-1185 Allow customization (name, description) of JMX managed...#59
asfgit merged 1 commit intoapache:masterfrom
kalgon:DELTASPIKE-1185

Conversation

@kalgon
Copy link
Contributor

@kalgon kalgon commented Jul 20, 2016

Hi,

Here is a first try at implementing the customization (name + description) of JMX operations' parameters.

I didn't know if it was better to make a new @JmxParameter annotation or reuse the existing @JmxManaged (which would have needed a new name attribute).

I opted for the first solution but I can change it if needed. In the 2nd solution, adding a new name attribute to @JmxManaged could also allow to override the operation name.

Regards,

Xavier

@johnament
Copy link
Contributor

Hi Xavier,

PR looks good. Would you mind rebasing from master?

{
try
{
parameterClass = Class.forName("java.lang.reflect.Parameter");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is super useful, we'll be able to start adding named parameter support in repos now.

@kalgon kalgon force-pushed the DELTASPIKE-1185 branch from 0ab7e70 to 40d24ab Compare July 22, 2016 08:05
@kalgon
Copy link
Contributor Author

kalgon commented Jul 22, 2016

rebased

@asfgit asfgit merged commit 40d24ab into apache:master Jul 22, 2016
@johnament
Copy link
Contributor

Thanks for the contrib, merged to master!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants