public class SpringAware extends Object implements org.springframework.context.ApplicationContextAware
Title: thebeastshop
Copyright: Copyright (c) 2016
| Constructor and Description |
|---|
SpringAware() |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.context.ApplicationContext |
getApplicationContext() |
static <T> T |
getBean(String name) |
static void |
rollBack() |
void |
setApplicationContext(org.springframework.context.ApplicationContext ac) |
public void setApplicationContext(org.springframework.context.ApplicationContext ac)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic static org.springframework.context.ApplicationContext getApplicationContext()
public static <T> T getBean(String name)
public static void rollBack()
Copyright © 2018. All rights reserved.