Class DelegatingNamingObjectFactory

    • Constructor Detail

      • DelegatingNamingObjectFactory

        public DelegatingNamingObjectFactory​(String name,
                                             NamingObjectFactory delegate,
                                             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
      • getName

        public String getName()