net.sf.beanlib.spi.replicator
Interface CollectionReplicatorSpi

All Known Implementing Classes:
CollectionReplicator, Hibernate3CollectionReplicator

public interface CollectionReplicatorSpi

Collection Replicator API.

Author:
Joe D. Velopar

Nested Class Summary
static interface CollectionReplicatorSpi.Factory
          Collection Replicator Factory SPI.
 
Method Summary
<V,T> T
replicateCollection(Collection<V> fromCollection, Class<T> toClass)
          Returns a replicated collection.
 

Method Detail

replicateCollection

<V,T> T replicateCollection(Collection<V> fromCollection,
                            Class<T> toClass)
Returns a replicated collection.

Type Parameters:
V - component type of the from collection
T - target class type
Parameters:
fromCollection - from collection
toClass - target class