Customize the objectname of registered MBeans

View: New views
1 Messages — Rating Filter:   Alert me  

Customize the objectname of registered MBeans

by Stephane Nicoll :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi there,

 

I am trying to deploy the management beans of ehcache (we’re using 1.3 at the moment) to the tomcat JMX domain with Spring. It works fine and I am using the static method provided in the doc

http://ehcache.sourceforge.net/documentation/jmx.html

 

Is there a way to custimized the object name of the registered MBeans? Right now it’s net.sf.ehcache. If I deploy a second instance of the same app (which may happen) I’ll get a conflict of course.

 

Right now, I have to use the SingletonEhCacheProvider from Hibernate in order to register the right CacheManager to the JMX domain. Is there any other way to do the same with the standard EhCacheProvider?

 

Thanks for the input,

Stéphane


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
ehcache-list mailing list
ehcache-list@...
https://lists.sourceforge.net/lists/listinfo/ehcache-list