Class JndiNamingObjectFactory

    • Constructor Detail

      • JndiNamingObjectFactory

        public JndiNamingObjectFactory​(String name,
                                       String jndiName,
                                       boolean cacheResult)
    • Method Detail

      • isCreateResultCacheable

        public boolean isCreateResultCacheable()
        Description copied from interface: NamingObjectFactory
        Tells if the result of create() is cacheable. If so the naming manager will replace this object factory with the object itself.
        Specified by:
        isCreateResultCacheable in interface NamingObjectFactory
        Returns:
        true if the result of create() can be cached