mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 20:59:07 +00:00
006da7ed813998ff3f039d413dedbc86b86debb4
Prior to this change, JndiPropertySource worked directly against a JNDI Context instance as its 'source' object. This works well enough, but is not nearly as fully-featured as Spring's existing JndiLocatorDelegate. This change refactors JndiPropertySource from relying on an underlying Context to relying on an underlying JndiLocatorDelegate. By default, the delegate's "resourceRef" property is set to true, meaning that the implementation will always try to prepand a given name with "java:comp/env/" before looking up the name, and upon failure will drop back to the given name sans prefix. See JndiPropertySource Javadoc for complete details. Issue: SPR-8490 git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4648 50f2f4bb-b051-0410-bef5-90022cba6387
Languages
Java
97.6%
Kotlin
2.3%