org.logicalcobwebs.proxool.admin.jmx
Class MultipleAgentsConnectionPoolMBeanTest
java.lang.Object
TestCase
org.logicalcobwebs.proxool.AbstractProxoolTest
org.logicalcobwebs.proxool.admin.jmx.AbstractJMXTest
org.logicalcobwebs.proxool.admin.jmx.MultipleAgentsConnectionPoolMBeanTest
public class MultipleAgentsConnectionPoolMBeanTest
- extends AbstractJMXTest
Test ConnectionPoolMBean
when JMX is configured for multiple agents.
- Since:
- Proxool 0.8
- Version:
- $Revision: 1.1 $, $Date: 2003/10/20 07:40:44 $
- Author:
- Christian Nedregaard (christian_nedregaard@email.com), $Author: chr32 $ (current maintainer)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AGENT1_DOMAIN
private static final java.lang.String AGENT1_DOMAIN
- See Also:
- Constant Field Values
AGENT2_DOMAIN
private static final java.lang.String AGENT2_DOMAIN
- See Also:
- Constant Field Values
mBeanServer1
private javax.management.MBeanServer mBeanServer1
mBeanServer2
private javax.management.MBeanServer mBeanServer2
mBeanServer1Id
private java.lang.String mBeanServer1Id
mBeanServer2Id
private java.lang.String mBeanServer2Id
MultipleAgentsConnectionPoolMBeanTest
public MultipleAgentsConnectionPoolMBeanTest(java.lang.String s)
- See Also:
junit.framework.TestCase#TestCase(java.lang.String)
testMultipleAgents
public void testMultipleAgents()
throws java.lang.Exception
- Test that pools can be regisered for multiple agents.
- Throws:
java.lang.Exception
- if the test fails in an unexpected way.
createMutipleAgentBasicPool
private java.util.Properties createMutipleAgentBasicPool(java.lang.String alias)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
setUp
protected void setUp()
throws java.lang.Exception
- Calls
AbstractProxoolTest.setUp()
- Overrides:
setUp
in class AbstractProxoolTest
- Throws:
java.lang.Exception
- See Also:
junit.framework.TestCase#setUp
tearDown
protected void tearDown()
throws java.lang.Exception
- Calls
AbstractProxoolTest.tearDown()
- Overrides:
tearDown
in class AbstractProxoolTest
- Throws:
java.lang.Exception
- See Also:
junit.framework.TestCase#setUp