net.sf.hibernate.persister
Class PersisterFactory

java.lang.Object
  extended bynet.sf.hibernate.persister.PersisterFactory

public final class PersisterFactory
extends Object

Factory for ClassPersister and CollectionPersister instances

Author:
Gavin King

Method Summary
static ClassPersister createClassPersister(PersistentClass model, SessionFactoryImplementor factory)
           
static CollectionPersister createCollectionPersister(Configuration cfg, Collection model, SessionFactoryImplementor factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createClassPersister

public static ClassPersister createClassPersister(PersistentClass model,
                                                  SessionFactoryImplementor factory)
                                           throws HibernateException
Throws:
HibernateException

createCollectionPersister

public static CollectionPersister createCollectionPersister(Configuration cfg,
                                                            Collection model,
                                                            SessionFactoryImplementor factory)
                                                     throws HibernateException
Throws:
HibernateException