fr.paris.lutece.plugins.dbpage.service
Class DbPageConnectionService

java.lang.Object
  extended by fr.paris.lutece.plugins.dbpage.service.DbPageConnectionService

public final class DbPageConnectionService
extends java.lang.Object

This class provides DbPageConnectionService object


Method Summary
static fr.paris.lutece.portal.service.database.PluginConnectionService getConnectionService(java.lang.String strPoolName)
          Get a connection service corresponding to the given poolname.
static DbPageConnectionService getInstance()
          Provides singleton to connection service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConnectionService

public static fr.paris.lutece.portal.service.database.PluginConnectionService getConnectionService(java.lang.String strPoolName)
Get a connection service corresponding to the given poolname. If the pool name is empty, the default connection service of the current plugin is returned

Parameters:
strPoolName - The Poolname
Returns:
A Connection Service

getInstance

public static DbPageConnectionService getInstance()
Provides singleton to connection service

Returns:
Returns an instance of the connection service


Copyright © 2010 Mairie de Paris. All Rights Reserved.