QuickServer
v1.4.5

org.quickserver.util.xmlreader
Class DBObjectPoolConfig

java.lang.Object
  extended byorg.quickserver.util.xmlreader.DBObjectPoolConfig

public class DBObjectPoolConfig
extends java.lang.Object

This class encapsulate the database object pool. The xml is <db-object-pool>...</db-object-pool>.

Since:
1.3
Author:
Akshathkumar Shetty

Constructor Summary
DBObjectPoolConfig()
           
 
Method Summary
 DatabaseConnectionSet getDatabaseConnectionSet()
          Returns the DatabaseConnectionSet.
 java.lang.String getDbPoolUtil()
          Returns the DBPoolUtil class that handles the database connection pools.
 void setDatabaseConnectionSet(DatabaseConnectionSet databaseConnectionSet)
          Sets the DatabaseConnectionSet.
 void setDbPoolUtil(java.lang.String className)
          Sets the DBPoolUtil class that handles the database connection pools.
 java.lang.String toXML(java.lang.String pad)
          Returns XML config of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBObjectPoolConfig

public DBObjectPoolConfig()
Method Detail

getDatabaseConnectionSet

public DatabaseConnectionSet getDatabaseConnectionSet()
Returns the DatabaseConnectionSet.

Returns:
DatabaseConnectionSet

setDatabaseConnectionSet

public void setDatabaseConnectionSet(DatabaseConnectionSet databaseConnectionSet)
Sets the DatabaseConnectionSet. XML Tag: <database-connection-set></database-connection-set>

Parameters:
databaseConnectionSet -

setDbPoolUtil

public void setDbPoolUtil(java.lang.String className)
Sets the DBPoolUtil class that handles the database connection pools. XML Tag: <db-pool-util></db-pool-util>

Parameters:
className - the fully qualified name of the class that implements DBPoolUtil.
See Also:
getDbPoolUtil()

getDbPoolUtil

public java.lang.String getDbPoolUtil()
Returns the DBPoolUtil class that handles the database connection pools.

See Also:
setDbPoolUtil(java.lang.String)

toXML

public java.lang.String toXML(java.lang.String pad)
Returns XML config of this class.

Since:
1.3

QuickServer
v1.4.5

Copyright © 2003-2005 QuickServer.org