org.jtools.jpool.project
Class ProjectBean

java.lang.Object
  extended byorg.jtools.jpool.project.ProjectBean

public class ProjectBean
extends java.lang.Object

 ProjectBean Class
 Class representing the initialization of the pools as defined in the xml
 configuration file. In addition an instance of the shell class are created
 in order to easly execute sql statements on the database. This class provides
 the top level class which can be used for using the database pool manager.
 

Version:
$Id: ProjectBean.java,v 1.1 2003/10/15 15:37:30 stfndln Exp $
Author:
Stefaan Delanghe (stfndln@yahoo.com)

Constructor Summary
ProjectBean()
          Default Constructor : initializes the database pool manager
 
Method Summary
 PoolManager getPoolManager()
          Retrieves the manager class which holds the methods for accessing the several created pools based upon the xml configuration file.
 Sequence getSequenceShell()
          Retrieves the sequence shell which alows you to execute sql statements in a very easy way.
protected  void initialize()
          Initialization of the database pool manager by parsing the xml configuration file as specified by the "XMLFILE" constant.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectBean

public ProjectBean()
Default Constructor : initializes the database pool manager

Method Detail

initialize

protected void initialize()
Initialization of the database pool manager by parsing the xml configuration file as specified by the "XMLFILE" constant.


getPoolManager

public PoolManager getPoolManager()
Retrieves the manager class which holds the methods for accessing the several created pools based upon the xml configuration file.

Returns:
The Pool Manager Class

getSequenceShell

public Sequence getSequenceShell()
Retrieves the sequence shell which alows you to execute sql statements in a very easy way.

Returns:
The Sequence shell instance