net.sf.beanlib.spi.replicator
Interface BeanReplicatorSpi

All Known Implementing Classes:
BeanReplicator, Hibernate3JavaBeanReplicator

public interface BeanReplicatorSpi

Java Bean Replicator SPI.

Author:
Joe D. Velopar

Nested Class Summary
static interface BeanReplicatorSpi.Factory
          Java Bean Replicator Factory SPI.
 
Method Summary
<V,T> T
replicateBean(V fromBean, Class<T> toClass)
          Returns a replicated Java Bean.
 

Method Detail

replicateBean

<V,T> T replicateBean(V fromBean,
                      Class<T> toClass)
Returns a replicated Java Bean.

Type Parameters:
V - source Java Bean type
T - target class type
Parameters:
fromBean - from Java Bean
toClass - target class