fr.cnes.sitools.datasource.common
Class SitoolsDataSourceFactory

java.lang.Object
  extended by fr.cnes.sitools.datasource.common.SitoolsDataSourceFactory

public final class SitoolsDataSourceFactory
extends java.lang.Object

A datasource Factory to get a SitoolsDataSource from its name

Author:
m.gond

Method Summary
static SitoolsDataSource getDataSource(java.lang.String dsName)
          Get the DataSource by name
static SitoolsDataSourceFactory getInstance()
          Get an instance of SitoolsDatasource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SitoolsDataSourceFactory getInstance()
Get an instance of SitoolsDatasource

Returns:
an instance of SitoolsDatasource

getDataSource

public static SitoolsDataSource getDataSource(java.lang.String dsName)
Get the DataSource by name

Parameters:
dsName - the identifier of the DataSource
Returns:
SitoolsDataSource


Copyright © 2010-2013 CNES. All Rights Reserved.