By default, the underlying JndiLocatorDelegate will be configured with its
"resourceRef" property set to
true, meaning that names looked up will automatically be prefixed with
"java:comp/env/" in alignment with published
naming conventions. To override this setting or to change the prefix, manually
configure a JndiLocatorDelegate and provide it to one of the constructors here
that accepts it. The same applies when providing custom JNDI properties. These should
be specified using JndiAccessor.setJndiEnvironment(java.util.Properties)
prior to construction of the JndiPropertySource.
Create a new JndiPropertySource with the given name and the given
public java.lang.Object getProperty(java.lang.String name)
This implementation looks up and returns the value associated with the given
name from the underlying JndiLocatorDelegate. If a NamingException
is thrown during the call to JndiLocatorDelegate.lookup(String), returns
null and issues a DEBUG-level log statement with the exception message.