net.sf.beanlib.hibernate3
Class Hibernate3BeanTransformer

java.lang.Object
  extended by net.sf.beanlib.provider.replicator.ReplicatorTemplate
      extended by net.sf.beanlib.provider.BeanTransformer
          extended by net.sf.beanlib.hibernate3.Hibernate3BeanTransformer
All Implemented Interfaces:
BeanPopulatorBaseSpi, BeanTransformerSpi, Transformable

public class Hibernate3BeanTransformer
extends BeanTransformer

Hibernate 3 specific Bean Transformer.

Author:
Joe D. Velopar

Nested Class Summary
private static class Hibernate3BeanTransformer.Factory
          Hibernate Bean Transformer Factory.
 
Field Summary
private static Hibernate3BeanTransformer.Factory factory
           
 
Fields inherited from class net.sf.beanlib.provider.replicator.ReplicatorTemplate
log
 
Constructor Summary
protected Hibernate3BeanTransformer(BeanPopulatorSpi.Factory beanPopulatorFactory)
           
 
Method Summary
protected
<T> T
createToInstance(Object from, Class<T> toClass)
           
static Hibernate3BeanTransformer newBeanTransformer()
          Convenient factory method that defaults to use BeanPopulator.factory.
 
Methods inherited from class net.sf.beanlib.provider.BeanTransformer
getArrayReplicatable, getBeanPopulatorBaseConfig, getBeanPopulatorSpiFactory, getBeanReplicatable, getBlobReplicatable, getClonedMap, getCollectionReplicatable, getDateReplicatable, getImmutableReplicatable, getMapReplicatable, initArrayReplicatable, initBeanPopulatable, initBeanPopulationExceptionHandler, initBeanPopulatorBaseConfig, initBeanReplicatable, initBeanSourceHandler, initBlobReplicatable, initCollectionReplicatable, initCustomTransformer, initDateReplicatable, initDebug, initDetailedBeanPopulatable, initImmutableReplicatable, initMapReplicatable, initReaderMethodFinder, initSetterMethodCollector, newBeanTransformer, reset, transform
 
Methods inherited from class net.sf.beanlib.provider.replicator.ReplicatorTemplate
chooseClass, createToInstance, createToInstanceWithComparator, getTargetCloned, newInstanceAsPrivileged, populateBean, putTargetCloned, replicate, replicate, replicateByBeanReplicatable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

private static final Hibernate3BeanTransformer.Factory factory
Constructor Detail

Hibernate3BeanTransformer

protected Hibernate3BeanTransformer(BeanPopulatorSpi.Factory beanPopulatorFactory)
Method Detail

newBeanTransformer

public static Hibernate3BeanTransformer newBeanTransformer()
Convenient factory method that defaults to use BeanPopulator.factory.


createToInstance

protected <T> T createToInstance(Object from,
                                 Class<T> toClass)
                      throws InstantiationException,
                             IllegalAccessException,
                             SecurityException,
                             NoSuchMethodException
Overrides:
createToInstance in class ReplicatorTemplate
Throws:
InstantiationException
IllegalAccessException
SecurityException
NoSuchMethodException