/** * Perform an actual JNDI lookup for the given name via the JndiTemplate. * <p>If the name doesn't begin with "java:comp/env/", this prefix is added * if "resourceRef" is set to "true". * @param jndiName the JNDI name to look up * @return the obtained object * @throws NamingException if the JNDI lookup failed * @see #setResourceRef */ protected Object lookup(String jndiName) throws NamingException { return lookup(jndiName, null); }
@Override public Object lookup(String jndiName) throws NamingException { return super.lookup(jndiName); }
/** * Perform an actual JNDI lookup for the given name via the JndiTemplate. * <p>If the name doesn't begin with "java:comp/env/", this prefix is added * if "resourceRef" is set to "true". * @param jndiName the JNDI name to look up * @return the obtained object * @throws NamingException if the JNDI lookup failed * @see #setResourceRef */ protected Object lookup(String jndiName) throws NamingException { return lookup(jndiName, null); }
@Override public <T> T lookup(String jndiName, @Nullable Class<T> requiredType) throws NamingException { return super.lookup(jndiName, requiredType); }
@Override public Object lookup(String jndiName) throws NamingException { return super.lookup(jndiName); }
@Override public <T> T lookup(String jndiName, @Nullable Class<T> requiredType) throws NamingException { return super.lookup(jndiName, requiredType); }
@Override public Object lookup(String jndiName) throws NamingException { return super.lookup(jndiName); }
/** * Perform an actual JNDI lookup for the given name via the JndiTemplate. * <p>If the name doesn't begin with "java:comp/env/", this prefix is added * if "resourceRef" is set to "true". * @param jndiName the JNDI name to look up * @return the obtained object * @throws NamingException if the JNDI lookup failed * @see #setResourceRef */ protected Object lookup(String jndiName) throws NamingException { return lookup(jndiName, null); }
@Override public <T> T lookup(String jndiName, @Nullable Class<T> requiredType) throws NamingException { return super.lookup(jndiName, requiredType); }