org.apache.geronimo.converter
Class AbstractDatabasePool

java.lang.Object
  extended by org.apache.geronimo.converter.AbstractDatabasePool
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JDBCPool, XADatabasePool

public abstract class AbstractDatabasePool
extends Object
implements Serializable

A common intermediate format for a database connection pool

See Also:
Serialized Form

Field Summary
static String VENDOR_INFORMIX
           
static String VENDOR_MYSQL
           
static String VENDOR_ORACLE
           
static String VENDOR_SYBASE
           
 
Constructor Summary
AbstractDatabasePool()
           
 
Method Summary
 Integer getBlockingTimeoutMillis()
           
 Integer getIdleTimeoutMillis()
           
 String getJndiName()
           
 Integer getMaxSize()
           
 Integer getMinSize()
           
 String getName()
           
 String getNewConnectionSQL()
           
 Integer getStatementCacheSize()
           
 String getTestConnectionSQL()
           
 String getVendor()
           
 void setBlockingTimeoutMillis(Integer blockingTimeoutMillis)
           
 void setIdleTimeoutMillis(Integer idleTimeoutMillis)
           
 void setJndiName(String jndiName)
           
 void setMaxSize(Integer maxSize)
           
 void setMinSize(Integer minSize)
           
 void setName(String name)
           
 void setNewConnectionSQL(String newConnectionSQL)
           
 void setStatementCacheSize(Integer statementCacheSize)
           
 void setTestConnectionSQL(String testConnectionSQL)
           
 void setVendor(String vendor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VENDOR_ORACLE

public static final String VENDOR_ORACLE
See Also:
Constant Field Values

VENDOR_MYSQL

public static final String VENDOR_MYSQL
See Also:
Constant Field Values

VENDOR_SYBASE

public static final String VENDOR_SYBASE
See Also:
Constant Field Values

VENDOR_INFORMIX

public static final String VENDOR_INFORMIX
See Also:
Constant Field Values
Constructor Detail

AbstractDatabasePool

public AbstractDatabasePool()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getJndiName

public String getJndiName()

setJndiName

public void setJndiName(String jndiName)

getNewConnectionSQL

public String getNewConnectionSQL()

setNewConnectionSQL

public void setNewConnectionSQL(String newConnectionSQL)

getTestConnectionSQL

public String getTestConnectionSQL()

setTestConnectionSQL

public void setTestConnectionSQL(String testConnectionSQL)

getVendor

public String getVendor()

setVendor

public void setVendor(String vendor)

getMinSize

public Integer getMinSize()

setMinSize

public void setMinSize(Integer minSize)

getMaxSize

public Integer getMaxSize()

setMaxSize

public void setMaxSize(Integer maxSize)

getBlockingTimeoutMillis

public Integer getBlockingTimeoutMillis()

setBlockingTimeoutMillis

public void setBlockingTimeoutMillis(Integer blockingTimeoutMillis)

getIdleTimeoutMillis

public Integer getIdleTimeoutMillis()

setIdleTimeoutMillis

public void setIdleTimeoutMillis(Integer idleTimeoutMillis)

getStatementCacheSize

public Integer getStatementCacheSize()

setStatementCacheSize

public void setStatementCacheSize(Integer statementCacheSize)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.