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

Nested Class Summary
static interface ImmutableReplicatorSpi.Factory
          Immutable Object Replicator Factory SPI.
 
Method Summary
<V,T> T
replicateImmutable(V immutable, Class<T> toClass)
          Returns a replicated immutable object.
 

Method Detail

replicateImmutable

<V,T> T replicateImmutable(V immutable,
                           Class<T> toClass)
Returns a replicated immutable object.

Type Parameters:
V - source immutable object type
T - target class type
Parameters:
immutable - source immutable object
toClass - target class