|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.jiucai.appframework.base.spring.helper.SpringHelper
public class SpringHelper
从 ServletContext 获取spring相关
| 构造方法摘要 | |
|---|---|
SpringHelper()
|
|
| 方法摘要 | |
|---|---|
static org.springframework.context.ApplicationContext |
getApplicationContext(javax.servlet.http.HttpServletRequest request)
从 ServletContext 获取 ApplicationContext |
static org.springframework.jdbc.core.simple.SimpleJdbcOperations |
getSimpleJdbcTemplate(javax.servlet.http.HttpServletRequest request)
获取操作数据的 SimpleJdbcOperations |
static org.springframework.jdbc.core.simple.SimpleJdbcOperations |
getSimpleJdbcTemplate(javax.servlet.http.HttpServletRequest request,
String beanId)
获取操作数据的 指定ID 的 SimpleJdbcOperations |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public SpringHelper()
| 方法详细信息 |
|---|
public static org.springframework.context.ApplicationContext getApplicationContext(javax.servlet.http.HttpServletRequest request)
request -
public static org.springframework.jdbc.core.simple.SimpleJdbcOperations getSimpleJdbcTemplate(javax.servlet.http.HttpServletRequest request)
request -
public static org.springframework.jdbc.core.simple.SimpleJdbcOperations getSimpleJdbcTemplate(javax.servlet.http.HttpServletRequest request,
String beanId)
request -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||