| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.persister.internal.PersisterFactoryImpl
public final class PersisterFactoryImpl
The standard Hibernate PersisterFactory implementation
| Field Summary | |
|---|---|
| static Class[] | ENTITY_PERSISTER_CONSTRUCTOR_ARGSThe constructor signature for EntityPersisterimplementations | 
| static Class[] | ENTITY_PERSISTER_CONSTRUCTOR_ARGS_NEWThe constructor signature for EntityPersisterimplementations using
 anEntityBinding. | 
| Constructor Summary | |
|---|---|
| PersisterFactoryImpl() | |
| Method Summary | |
|---|---|
|  CollectionPersister | createCollectionPersister(Configuration cfg,
                          Collection collectionMetadata,
                          CollectionRegionAccessStrategy cacheAccessStrategy,
                          SessionFactoryImplementor factory)Create a collection persister instance. | 
|  CollectionPersister | createCollectionPersister(MetadataImplementor metadata,
                          PluralAttributeBinding collectionMetadata,
                          CollectionRegionAccessStrategy cacheAccessStrategy,
                          SessionFactoryImplementor factory)Create a collection persister instance. | 
|  EntityPersister | createEntityPersister(EntityBinding metadata,
                      EntityRegionAccessStrategy cacheAccessStrategy,
                      SessionFactoryImplementor factory,
                      Mapping cfg)Create an entity persister instance. | 
|  EntityPersister | createEntityPersister(PersistentClass metadata,
                      EntityRegionAccessStrategy cacheAccessStrategy,
                      SessionFactoryImplementor factory,
                      Mapping cfg)Create an entity persister instance. | 
|  void | injectServices(ServiceRegistryImplementor serviceRegistry)Callback to inject the registry. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final Class[] ENTITY_PERSISTER_CONSTRUCTOR_ARGS
EntityPersister implementations
public static final Class[] ENTITY_PERSISTER_CONSTRUCTOR_ARGS_NEW
EntityPersister implementations using
 an EntityBinding.
| Constructor Detail | 
|---|
public PersisterFactoryImpl()
| Method Detail | 
|---|
public void injectServices(ServiceRegistryImplementor serviceRegistry)
ServiceRegistryAwareService
injectServices in interface ServiceRegistryAwareServiceserviceRegistry - The registry
public EntityPersister createEntityPersister(PersistentClass metadata,
                                             EntityRegionAccessStrategy cacheAccessStrategy,
                                             SessionFactoryImplementor factory,
                                             Mapping cfg)
PersisterFactory
createEntityPersister in interface PersisterFactorymetadata - The O/R mapping metamodel definition for the entitycacheAccessStrategy - The caching strategy for this entityfactory - The session factorycfg - The overall mapping
public EntityPersister createEntityPersister(EntityBinding metadata,
                                             EntityRegionAccessStrategy cacheAccessStrategy,
                                             SessionFactoryImplementor factory,
                                             Mapping cfg)
PersisterFactory
createEntityPersister in interface PersisterFactorymetadata - The O/R mapping metamodel definition for the entitycacheAccessStrategy - The caching strategy for this entityfactory - The session factorycfg - The overall mapping
public CollectionPersister createCollectionPersister(Configuration cfg,
                                                     Collection collectionMetadata,
                                                     CollectionRegionAccessStrategy cacheAccessStrategy,
                                                     SessionFactoryImplementor factory)
                                              throws HibernateException
PersisterFactory
createCollectionPersister in interface PersisterFactorycfg - The configurationcollectionMetadata - The O/R mapping metamodel definition for the collectioncacheAccessStrategy - The caching strategy for this collectionfactory - The session factory
HibernateException - Indicates a problem building the persister.
public CollectionPersister createCollectionPersister(MetadataImplementor metadata,
                                                     PluralAttributeBinding collectionMetadata,
                                                     CollectionRegionAccessStrategy cacheAccessStrategy,
                                                     SessionFactoryImplementor factory)
                                              throws HibernateException
PersisterFactory
createCollectionPersister in interface PersisterFactorymetadata - The metadatacollectionMetadata - The O/R mapping metamodel definition for the collectioncacheAccessStrategy - The caching strategy for this collectionfactory - The session factory
HibernateException - Indicates a problem building the persister.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||