Convenient superclass for JNDI-based service locators,
providing configurable lookup of a specific JNDI resource.
Exposes a
JndiObjectLocator.setJndiName "jndiName" property. This may or may not
include the "java:comp/env/" prefix expected by J2EE applications when
accessing a locally mapped (Environmental Naming Context) resource. If it
doesn't, the "java:comp/env/" prefix will be prepended if the "resourceRef"
property is true (the default is false) and no other scheme
(e.g. "java:") is given.
Set the JNDI name to look up. If it doesn't begin with "java:comp/env/"
this prefix is added if resourceRef is set to true.
Parameters: jndiName - JNDI name to look up See Also:JndiObjectLocator.setResourceRef
Fields inherited from org.springframework.jndi.JndiLocatorSupport