|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.persister.internal.PersisterFactoryImpl
public final class PersisterFactoryImpl
The standard Hibernate PersisterFactory
implementation
Field Summary | |
---|---|
static Class[] |
ENTITY_PERSISTER_CONSTRUCTOR_ARGS
The constructor signature for EntityPersister implementations |
static Class[] |
ENTITY_PERSISTER_CONSTRUCTOR_ARGS_NEW
The constructor signature for EntityPersister implementations using
an EntityBinding . |
Constructor Summary | |
---|---|
PersisterFactoryImpl()
|
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 ServiceRegistryAwareService
serviceRegistry
- The registrypublic EntityPersister createEntityPersister(PersistentClass metadata, EntityRegionAccessStrategy cacheAccessStrategy, NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy, SessionFactoryImplementor factory, Mapping cfg)
PersisterFactory
createEntityPersister
in interface PersisterFactory
metadata
- 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 PersisterFactory
metadata
- 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 PersisterFactory
cfg
- 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 PersisterFactory
metadata
- 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 |