Class CloningNamingObjectFactory

    • Constructor Detail

      • CloningNamingObjectFactory

        public CloningNamingObjectFactory​(String name,
                                          Object value)
    • 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()