org.springframework.security.oauth2.common.util
Class DefaultJdbcListFactory
java.lang.Object
org.springframework.security.oauth2.common.util.DefaultJdbcListFactory
- All Implemented Interfaces:
- JdbcListFactory
public class DefaultJdbcListFactory
- extends Object
- implements JdbcListFactory
- Author:
- Dave Syer
|
Constructor Summary |
DefaultJdbcListFactory(org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations jdbcTemplate)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultJdbcListFactory
public DefaultJdbcListFactory(org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations jdbcTemplate)
- Parameters:
jdbcTemplate - the jdbc template to use
getList
public <T> List<T> getList(String sql,
Map<String,Object> parameters,
org.springframework.jdbc.core.RowMapper<T> rowMapper)
- Specified by:
getList in interface JdbcListFactory
- Returns:
- a list of
T
Copyright © 2013. All rights reserved.