v2.3.0 (2016-04-07)
<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-core</artifactId>
<version>2.3.0</version>
</dependency>
Scope
- Core annotations, scopes, initialization, and environment configuration
Changes
- Added
- Allow the default scope to be configured as singleton or prototype; add
asEagerPrototype,@Singleton, and@Prototype. - Initialize singletons annotated with
@Initduring container startup. - Allow configuration files to be specified through File.
- Allow the default scope to be configured as singleton or prototype; add
- Improved
- Bind
EventContextin the container so it can be injected or looked up. - Adjust how the event plugin waits for AppContext injection; improve startup and thread naming.
- Give Hasor-defined environment variables precedence over system environment variables with the same name.
- Bind