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

java.lang.Object
  继承者 org.springframework.security.oauth2.common.util.DefaultJdbcListFactory
所有已实现的接口:
JdbcListFactory

public class DefaultJdbcListFactory
extends Object
implements JdbcListFactory

作者:
Dave Syer

构造方法摘要
DefaultJdbcListFactory(org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations jdbcTemplate)
           
 
方法摘要
<T> List<T>
getList(String sql, Map<String,Object> parameters, org.springframework.jdbc.core.RowMapper<T> rowMapper)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DefaultJdbcListFactory

public DefaultJdbcListFactory(org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations jdbcTemplate)
参数:
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)
指定者:
接口 JdbcListFactory 中的 getList
返回:
a list of T


Copyright © 2013. All rights reserved.