@Test public void testNotifyConnectionDirty() throws Exception { JMXMonConnectionPool testSubject; String url = ""; testSubject = createTestSubject(); testSubject.notifyConnectionDirty(url); }
public void notifyConnectionDirty(String url) { JMXMonConnection connection = (JMXMonConnection)pool.get(url); if (connection != null){ connection.setNewActiveConnection(null, null); } }
JMXMonConnectionPool { public void notifyConnectionDirty(String url) { JMXMonConnection connection = (JMXMonConnection)pool.get(url); if (connection != null){ connection.setNewActiveConnection(null, null); } } }
JMXMonConnectionPool { public void notifyConnectionDirty(String url) { JMXMonConnection connection = (JMXMonConnection)pool.get(url); if (connection != null){ connection.setNewActiveConnection(null, null); } } JMXMonConnectionPool(); }
JMXMonConnectionPool { public void notifyConnectionDirty(String url) { JMXMonConnection connection = (JMXMonConnection)pool.get(url); if (connection != null){ connection.setNewActiveConnection(null, null); } } JMXMonConnectionPool(); MBeanServerConnection getConnection(String jmxUrl, Hashtable attributes); MBeanServerConnection getConnection(String jmxUrl, Hashtable attributes, boolean wait); void closeAll(); void notifyConnectionDirty(String url); }
JMXMonConnectionPool { public void notifyConnectionDirty(String url) { JMXMonConnection connection = (JMXMonConnection)pool.get(url); if (connection != null){ connection.setNewActiveConnection(null, null); } } JMXMonConnectionPool(); MBeanServerConnection getConnection(String jmxUrl, Hashtable attributes); MBeanServerConnection getConnection(String jmxUrl, Hashtable attributes, boolean wait); void closeAll(); void notifyConnectionDirty(String url);  }