Skip to content

fix assisted inject predestroy

Compare
Choose a tag to compare
@tcellucci tcellucci released this 01 May 17:51
· 32 commits to master since this release
6f30d10

Instances provisioned by Guice using assisted injection that also declare lifecycle methods (such as @PreDestroy annotated methods or implement AutoCloseable) are not handled correctly. This bugfix release introduces specific handling of the NO_SCOPE scope built into Guice, to ensure that associated instances using lifecycle methods are handled correctly.