org.logicalcobwebs.proxool.admin.jmx
Class AbstractJMXTest

java.lang.Object
  extended by TestCase
      extended by org.logicalcobwebs.proxool.AbstractProxoolTest
          extended by org.logicalcobwebs.proxool.admin.jmx.AbstractJMXTest
Direct Known Subclasses:
ConnectionPoolMBeanTest, MultipleAgentsConnectionPoolMBeanTest

public class AbstractJMXTest
extends AbstractProxoolTest

Parent class for the JMX tests.

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)

Constructor Summary
AbstractJMXTest(java.lang.String alias)
           
 
Method Summary
protected  java.util.Properties createBasicPool(java.lang.String alias)
          Create a very basic Proxool pool.
protected  java.util.Properties createBasicProperties(java.lang.String alias)
          Create some very basic Proxool configuration.
 
Methods inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest
setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJMXTest

public AbstractJMXTest(java.lang.String alias)
See Also:
junit.framework.TestCase#TestCase(java.lang.String)
Method Detail

createBasicPool

protected java.util.Properties createBasicPool(java.lang.String alias)
                                        throws java.sql.SQLException
Create a very basic Proxool pool.

Parameters:
alias - the alias of the pool
Returns:
the properties used to create the pool.
Throws:
java.sql.SQLException - if the pool creation fails.

createBasicProperties

protected java.util.Properties createBasicProperties(java.lang.String alias)
Create some very basic Proxool configuration.

Parameters:
alias - the alias of the pool to be configured.
Returns:
the created properties.