net.sf.beanlib.spi.replicator
Interface ImmutableReplicatorSpi
- All Known Implementing Classes:
- HeteroImmutableReplicator, ImmutableReplicator, Jaxb2ImmutableReplicator
public interface ImmutableReplicatorSpi
Immutable Object Replicator SPI.
- Author:
- Joe D. Velopar
replicateImmutable
<V,T> T replicateImmutable(V immutable,
Class<T> toClass)
- Returns a replicated immutable object.
- Type Parameters:
V
- source immutable object typeT
- target class type- Parameters:
immutable
- source immutable objecttoClass
- target class