Class IdentityAttributeCopier<T>

java.lang.Object
org.infinispan.commons.configuration.attributes.IdentityAttributeCopier<T>
All Implemented Interfaces:
AttributeCopier<T>

public class IdentityAttributeCopier<T> extends Object implements AttributeCopier<T>
IdentityAttributeCopier. This AttributeCopier does not copy the source attribute, but returns it, so that the same instance can be shared across multiple configurations. Since this can only be safely done with threadsafe objects which store no state, be very careful when using it.
Since:
7.2
Author:
Tristan Tarrant
  • Constructor Details

    • IdentityAttributeCopier

      public IdentityAttributeCopier()
  • Method Details