it.eng.spago.dbaccess
Class Configurator

java.lang.Object
  extended byit.eng.spago.dbaccess.Configurator

public class Configurator
extends java.lang.Object

Questa Classe ha la responsabilità di effettuare il parser del file indicato dal Tag nel file xml principale dell'applicazione e di mettere a disposizione del sosttosistema di accesso ai dati queste infomrazioni in particolare è possibile:

  • Recuperare l'oggetto ConnectionPoolDescriptor dato un nome simbolico
  • Recuperare la lista dei nomi dei pool registrati dall'applicativo


    Method Summary
     ConnectionPoolDescriptor getConnectionPoolDescriptor(java.lang.String connectionPoolName)
              This method is used for get get a Pool Descriptor Object given the pool name
     java.lang.String getDateFormat()
              This method is used for retrieve the date format String
    static Configurator getInstance()
              The method for gettinng Instance of Configurator
     java.util.List getRegisteredConnectionPoolNames()
              The method for getting the list of names of the pool registered in the data-access subsystem
     java.lang.String getTimeStampFormat()
              This method is used for retrieve the timeStamp format String
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Method Detail

    getInstance

    public static Configurator getInstance()
    The method for gettinng Instance of Configurator

    Returns:
    the singleton unique istance of Configurator

    getRegisteredConnectionPoolNames

    public java.util.List getRegisteredConnectionPoolNames()
    The method for getting the list of names of the pool registered in the data-access subsystem

    Returns:
    a List of String representing the names of the pools registered

    getConnectionPoolDescriptor

    public ConnectionPoolDescriptor getConnectionPoolDescriptor(java.lang.String connectionPoolName)
    This method is used for get get a Pool Descriptor Object given the pool name

    Returns:
    a List of String representing the names of the pools registered

    getTimeStampFormat

    public java.lang.String getTimeStampFormat()
    This method is used for retrieve the timeStamp format String

    Returns:
    String representing the timeStamp format String

    getDateFormat

    public java.lang.String getDateFormat()
    This method is used for retrieve the date format String

    Returns:
    String representing the date format String