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
@Init during container startup.
- Allow configuration files to be specified through File.
- Improved
- Bind
EventContext in 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.