v2.0.0 (2015-11-27)
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-core</artifactId>
<version>2.0.0</version>
</dependency>
Scope
- Core injection, lifecycle, and the Web module boundary
Changes
- Added
- Add
@Injectand@Initfor annotation-based injection and initialization. - Add a JVM shutdown hook and
WebApiBinderWrap. - Introduce JSON utilities and upgrade ASM to 5.0 to support Java 8 class files.
- Add
- Improved
- Rename
StartModuletoLifeModule, addonStop, and adjust the timing ofonStartand container startup events. - Allow Settings to be passed to environment initialization and constructors.
- Remove
ResultModule, separate the MVC plugin, and move the MVC framework to haweb.
- Rename
- Fixed
- Fix bytecode handling of
long,float, anddouble; exclude classes in java and javax packages from AOP.
- Fix bytecode handling of
Upgrade notes
StartModuleis renamed toLifeModule; update lifecycle implementations to add or adaptonStop.