public class EnvironmentUtils extends Object implements org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
EnvironmentUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.context.ApplicationContext |
getApplicationContext() |
CacheService |
getCache() |
String |
getCategoryId() |
static EnvironmentUtils |
getEnvironment() |
EnvironmentProvider |
getEnvironmentProvider() |
String |
getLoginUser() |
org.springframework.transaction.PlatformTransactionManager |
getPlatformTransactionManager() |
org.hibernate.SessionFactory |
getSessionFactory() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public static EnvironmentUtils getEnvironment()
public org.hibernate.SessionFactory getSessionFactory()
public org.springframework.transaction.PlatformTransactionManager getPlatformTransactionManager()
public CacheService getCache()
public String getLoginUser()
public String getCategoryId()
public EnvironmentProvider getEnvironmentProvider()
public org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2019 Bstek. All rights reserved.