

package gov.va.med.cds.persistence;


import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;
import java.util.logging.Logger;

import javax.sql.DataSource;


public class NoOpDataSource
    implements
        DataSource
{

    @Override
    public Connection getConnection( )
        throws SQLException
    {
        return null;
    }


    @Override
    public Connection getConnection( String username, String password )
        throws SQLException
    {
        return null;
    }


    @Override
    public PrintWriter getLogWriter( )
        throws SQLException
    {
        return null;
    }


    @Override
    public int getLoginTimeout( )
        throws SQLException
    {
         return 0;
    }


    @Override
    public void setLogWriter( PrintWriter out )
        throws SQLException
    {

    }


    @Override
    public void setLoginTimeout( int seconds )
        throws SQLException
    {

    }


    public boolean isWrapperFor( Class<?> iface )
        throws SQLException
    {
        return false;
    }


    public <T> T unwrap( Class<T> iface )
        throws SQLException
    {
        return null;
    }


    public Logger getParentLogger( )
        throws SQLFeatureNotSupportedException
    {
        // TODO Auto-generated method stub
        return null;
    }

   
}
