class YanwteSpringHook : InitializingBean, ApplicationContextAware
Define a bean of this class in your spring application context. This hook will integrate Spring to Yanwte.
Note, the basePackage of your program is required to initialize this class.
Be com.yourcompany.yourdepartment.yourproject, then set this to basePackage.
Author
Winter Young
Since
2016/1/23
| <init> |
YanwteSpringHook()
Define a bean of this class in your spring application context. This hook will integrate Spring to Yanwte. |
| basePackage |
var basePackage: String?
The base package of your program. e.g. The base package
of yanwte is |
| afterPropertiesSet |
fun afterPropertiesSet(): Unit |
| setApplicationContext |
fun setApplicationContext(applicationContext: ApplicationContext): Unit |