|
From: Ivan R. <iv...@we...> - 2003-12-06 19:20:10
|
Rod Johnson wrote: > Colin, > > Why don't you check it into the sandbox? > > I've also been thinking about a contrib area...it would be good to have some > way of sharing code that may or may not ever make it into Spring proper--for > example, code useful to a lot of users, but not really a part of the > framework. Here's my code (gave me a nice excuse to learn how BeanPostProcessor interface works). AbstractJMXBridge is the class to look at. It will first try to find a mapping by name, then by class. If that fails it will attempt to register the bean directly (that will succeed only if the bean implements one of the JMX interfaces). MyJMXBridge is an example implementation that uses the MX4J MBeanServer. -- ModSecurity (http://www.modsecurity.org) [ Open source IDS for Web applications ] |