yanwte-spring / com.github.winteryoung.yanwte.spring.internals / YanwteSpringHook / <init>

<init>

YanwteSpringHook()

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 very careful to set this right. You may cause other part of the system wrong if you set this wrong. For example, if your classes are all located under com.yourcompany.yourdepartment.yourproject, then set this to basePackage.

Author
Winter Young

Since
2016/1/23