Skip to content

Commit

Permalink
Deprecate @ServiceDefinition#singleton option to avoid class loadin…
Browse files Browse the repository at this point in the history
…g issues
  • Loading branch information
charphi committed Aug 29, 2024
1 parent f226819 commit 1a948b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Deprecate `@ServiceDefinition#singleton` option to avoid class loading issues

## [1.9.0] - 2024-02-06

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@
* Specifies if the loader must be a singleton.
*
* @return true if the loader is a singleton, false otherwise
* @deprecated Don't use this option because it is the source of many class loading issues.
*/
@Deprecated
boolean singleton() default false;

/**
Expand Down

0 comments on commit 1a948b6

Please sign in to comment.