Class CloningNamingObjectFactory

    • Constructor Detail

      • CloningNamingObjectFactory

        public CloningNamingObjectFactory​(String name,
                                          Object value)
        Creates a factory that will create copies of the given value
        Parameters:
        name - name of object. Ignored
        value - object that will be cloned when create is called
      • CloningNamingObjectFactory

        public CloningNamingObjectFactory​(String name,
                                          NamingObjectFactory delegate)
        Creates a factory that will create copies of whatever the delegate us to hold
        Parameters:
        name - name of object. Ignored
        delegate - Factory to hold the object which will be copied.