An easier way to exclude methods from Grails JMX plugin services

Posted by Unknown Sunday, December 9, 2012 0 comments
20121029 Monday October 29, 2012

An easier way to exclude methods from Grails JMX plugin services The Grails JMX plugin is a great way to quickly make a service available through JMX. Things get trickier when you want to only expose a few methods on the service. The plugin provides the option to list methods to exclude, but you need to list all of them including the ones Grails added to the service. Fortunately, we can use the metaclass to help us out. We can add a list of the few methods we want exposed and then use to that to generate the list of exclude method as follows: (2012-10-29 22:58:51.0) Permalink


View the original article here

THANK YOU FOR YOUR VISIT
Title: An easier way to exclude methods from Grails JMX plugin services
Posted By Unknown
Blog Rating 5 dari 5
Hopefully this article useful to you. If you wish to quote, either part or all of the contents of this article please include a "dofollow links" to http://izone2.blogspot.com/2012/12/an-easier-way-to-exclude-methods-from.html. Thank you for reading our articles and continue to follow this blog article.

0 comments:

Post a Comment

Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of Info Zone.