[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-1054) Get rid of JmxUtil.getMBeanServer()
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Mon May 21 13:06:04 EDT 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-1054?page=all ]
Brian Stansberry closed JBCACHE-1054.
-------------------------------------
Resolution: Done
Manik removed RmiCacheLoader and modified TcpCacheLoader so it no longer does JMX lookups. So, this method is no longer used and has been removed.
> Get rid of JmxUtil.getMBeanServer()
> -----------------------------------
>
> Key: JBCACHE-1054
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1054
> Project: JBoss Cache
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Affects Versions: 2.0.0.CR1
> Reporter: Brian Stansberry
> Assigned To: Brian Stansberry
> Fix For: 2.0.0.CR2
>
>
> This method tries to figure out what the MBeanServer is, preferring one named 'jboss' or if that doesn't exist, the platform mbean server.
> The javax.management.MBeanRegistration interface's preRegister callback provides mbeans with a ref to the mbean server. Classes that need to figure out the JMX environment should themselves be mbeans that implement this interface.
> Affected classes would be RmiCacheServer and TcpCacheServer. It's possible the resolution to JBCACHE-1053 will remove the usage; if not those classes should implement MBeanRegistration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list