416990 JMX names statically unique

This commit is contained in:
Greg Wilkins 2013-09-12 10:40:26 +10:00
parent 9db0101d69
commit c842c5c505
1 changed files with 1 additions and 1 deletions

View File

@ -49,10 +49,10 @@ import org.eclipse.jetty.util.thread.ShutdownThread;
public class MBeanContainer extends AbstractLifeCycle implements Container.Listener, Dumpable
{
private final static Logger LOG = Log.getLogger(MBeanContainer.class.getName());
private final static HashMap<String, Integer> _unique = new HashMap<String, Integer>();
private final MBeanServer _server;
private final WeakHashMap<Object, ObjectName> _beans = new WeakHashMap<Object, ObjectName>();
private final HashMap<String, Integer> _unique = new HashMap<String, Integer>();
private final WeakHashMap<ObjectName,List<Container.Relationship>> _relations = new WeakHashMap<ObjectName,List<Container.Relationship>>();
private String _domain = null;