Class JndiNamingObjectFactory

    • Constructor Detail

      • JndiNamingObjectFactory

        public JndiNamingObjectFactory​(String name,
                                       String jndiName,
                                       boolean cacheResult)
        Parameters:
        name - the name of the object; equivalent to the name value of a Resource annotation
        jndiName - the jndi name to lookup to get the object; equivalent to the lookup value of a Resource annotation
        cacheResult - whether the result may have been cached