org.springframework.security.oauth2.common.util
Class DefaultJdbcListFactory

java.lang.Object
  extended by org.springframework.security.oauth2.common.util.DefaultJdbcListFactory
All Implemented Interfaces:
JdbcListFactory

public class DefaultJdbcListFactory
extends Object
implements JdbcListFactory

Author:
Dave Syer

Constructor Summary
DefaultJdbcListFactory(NamedParameterJdbcOperations jdbcTemplate)
           
 
Method Summary
<T> List<T>
getList(String sql, Map<String,Object> parameters, RowMapper<T> rowMapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJdbcListFactory

public DefaultJdbcListFactory(NamedParameterJdbcOperations jdbcTemplate)
Parameters:
jdbcTemplate - the jdbc template to use
Method Detail

getList

public <T> List<T> getList(String sql,
                           Map<String,Object> parameters,
                           RowMapper<T> rowMapper)
Specified by:
getList in interface JdbcListFactory
Returns:
a list of T


Copyright © 2012. All Rights Reserved.