org.gcube.portlets.user.tdw.datasource.td
Class TDDataSourceFactory

java.lang.Object
  extended by org.gcube.portlets.user.tdw.datasource.td.TDDataSourceFactory
All Implemented Interfaces:
org.gcube.portlets.user.tdw.server.datasource.DataSourceFactory

public class TDDataSourceFactory
extends Object
implements org.gcube.portlets.user.tdw.server.datasource.DataSourceFactory

Author:
"Giancarlo Panichi" g.panichi@isti.cnr.it

Field Summary
protected  org.slf4j.Logger logger
           
 
Constructor Summary
TDDataSourceFactory()
           
 
Method Summary
 void closeDataSource(org.gcube.application.framework.core.session.ASLSession session, org.gcube.portlets.user.tdw.server.datasource.DataSource dataSource)
          
 String getId()
          
 org.gcube.portlets.user.tdw.server.datasource.DataSource openDataSource(org.gcube.application.framework.core.session.ASLSession aslSession, org.gcube.portlets.user.tdw.shared.model.TableId tableId)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.slf4j.Logger logger
Constructor Detail

TDDataSourceFactory

public TDDataSourceFactory()
Method Detail

getId

public String getId()

Specified by:
getId in interface org.gcube.portlets.user.tdw.server.datasource.DataSourceFactory

openDataSource

public org.gcube.portlets.user.tdw.server.datasource.DataSource openDataSource(org.gcube.application.framework.core.session.ASLSession aslSession,
                                                                               org.gcube.portlets.user.tdw.shared.model.TableId tableId)
                                                                        throws org.gcube.portlets.user.tdw.server.datasource.DataSourceException

Specified by:
openDataSource in interface org.gcube.portlets.user.tdw.server.datasource.DataSourceFactory
Throws:
org.gcube.portlets.user.tdw.server.datasource.DataSourceException

closeDataSource

public void closeDataSource(org.gcube.application.framework.core.session.ASLSession session,
                            org.gcube.portlets.user.tdw.server.datasource.DataSource dataSource)
                     throws org.gcube.portlets.user.tdw.server.datasource.DataSourceException

Specified by:
closeDataSource in interface org.gcube.portlets.user.tdw.server.datasource.DataSourceFactory
Throws:
org.gcube.portlets.user.tdw.server.datasource.DataSourceException


Copyright © 2014. All Rights Reserved.