Class IdentityAttributeCopier<T>
java.lang.Object
org.infinispan.commons.configuration.attributes.IdentityAttributeCopier<T>
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopyAttribute
(T attribute) static <T> IdentityAttributeCopier
<T>
-
Constructor Details
-
IdentityAttributeCopier
public IdentityAttributeCopier()
-
-
Method Details
-
identityCopier
-
copyAttribute
- Specified by:
copyAttribute
in interfaceAttributeCopier<T>
-