net.sf.beanlib.spi.replicator
Interface MapReplicatorSpi

All Known Implementing Classes:
Hibernate3MapReplicator, MapReplicator

public interface MapReplicatorSpi

Map Replicator SPI.

Author:
Joe D. Velopar

Nested Class Summary
static interface MapReplicatorSpi.Factory
          Map Replicator Factory SPI.
 
Method Summary
<K,V,T> T
replicateMap(Map<K,V> fromMap, Class<T> toClass)
          Returns a replicated map.
 

Method Detail

replicateMap

<K,V,T> T replicateMap(Map<K,V> fromMap,
                       Class<T> toClass)
Returns a replicated map.

Type Parameters:
K - key type of the from map
V - value type of the from map
T - target class type
Parameters:
fromMap - from map
toClass - target class