fr.paris.lutece.plugins.adminsql.service
Class AdminSqlConnectionService

java.lang.Object
  extended by fr.paris.lutece.plugins.adminsql.service.AdminSqlConnectionService

public final class AdminSqlConnectionService
extends java.lang.Object

This class provides AdminSqlConnectionService 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 AdminSqlConnectionService 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 AdminSqlConnectionService getInstance()
Provides singleton to connection service

Returns:
Returns an instance of the connection service


Copyright © 2010 Mairie de Paris. All Rights Reserved.