public class IdentityAttributeCopier<T> extends Object implements AttributeCopier<T>
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.Modifier and Type | Field and Description |
---|---|
static AttributeCopier<Object> |
INSTANCE |
public static final AttributeCopier<Object> INSTANCE
public T copyAttribute(T attribute)
copyAttribute
in interface AttributeCopier<T>
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.