Browse Source
When a bean is retrieved via JNDI using Java config, we apply the same inferred more for destruction callbacks as for any other bean. If an object from the JNDI tree has a `close` or `shutdown` method, the context calls it when it shutdowns. Unfortunately, we have no way to know that the bean was retrieved via JNDI and that its lifecycle is managed outside the application. The documentation has been updated to reflect that problem explicitly. Issue: SPR-12551pull/703/merge
1 changed files with 17 additions and 3 deletions
Loading…
Reference in new issue