public final class PersisterFactoryImpl extends Object implements PersisterFactory, ServiceRegistryAwareService
PersisterFactory implementation| Modifier and Type | Field and Description | 
|---|---|
| static Class[] | ENTITY_PERSISTER_CONSTRUCTOR_ARGSThe constructor signature for  EntityPersisterimplementations | 
| static Class[] | ENTITY_PERSISTER_CONSTRUCTOR_ARGS_NEWThe constructor signature for  EntityPersisterimplementations using
 anEntityBinding. | 
| Constructor and Description | 
|---|
| PersisterFactoryImpl() | 
public static final Class[] ENTITY_PERSISTER_CONSTRUCTOR_ARGS
EntityPersister implementationspublic static final Class[] ENTITY_PERSISTER_CONSTRUCTOR_ARGS_NEW
EntityPersister implementations using
 an EntityBinding.public void injectServices(ServiceRegistryImplementor serviceRegistry)
ServiceRegistryAwareServiceinjectServices in interface ServiceRegistryAwareServiceserviceRegistry - The registrypublic EntityPersister createEntityPersister(PersistentClass metadata, EntityRegionAccessStrategy cacheAccessStrategy, NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy, SessionFactoryImplementor factory, Mapping cfg)
PersisterFactorycreateEntityPersister in interface PersisterFactorymetadata - The O/R mapping metamodel definition for the entitycacheAccessStrategy - The caching strategy for this entityfactory - The session factorycfg - The overall mappingpublic EntityPersister createEntityPersister(EntityBinding metadata, EntityRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory, Mapping cfg)
PersisterFactorycreateEntityPersister in interface PersisterFactorymetadata - The O/R mapping metamodel definition for the entitycacheAccessStrategy - The caching strategy for this entityfactory - The session factorycfg - The overall mappingpublic CollectionPersister createCollectionPersister(Configuration cfg, Collection collectionMetadata, CollectionRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory) throws HibernateException
PersisterFactorycreateCollectionPersister in interface PersisterFactorycfg - The configurationcollectionMetadata - The O/R mapping metamodel definition for the collectioncacheAccessStrategy - The caching strategy for this collectionfactory - The session factoryHibernateException - Indicates a problem building the persister.public CollectionPersister createCollectionPersister(MetadataImplementor metadata, PluralAttributeBinding collectionMetadata, CollectionRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory) throws HibernateException
PersisterFactorycreateCollectionPersister in interface PersisterFactorymetadata - The metadatacollectionMetadata - The O/R mapping metamodel definition for the collectioncacheAccessStrategy - The caching strategy for this collectionfactory - The session factoryHibernateException - Indicates a problem building the persister.Copyright © 2018 JBoss by Red Hat. All rights reserved.