public class EhcacheDatastoreProvider extends BaseDatastoreProvider implements org.hibernate.service.spi.Startable, org.hibernate.service.spi.Stoppable, org.hibernate.service.spi.ServiceRegistryAwareService, org.hibernate.service.spi.Configurable
| Modifier and Type | Class and Description |
|---|---|
static class |
EhcacheDatastoreProvider.OgmTransactionManagerLookupDelegate |
| Constructor and Description |
|---|
EhcacheDatastoreProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Map map) |
LocalCacheManager<?,?,?> |
getCacheManager() |
Class<? extends GridDialect> |
getDefaultDialect() |
KeyProvider<?,?,?> |
getKeyProvider() |
Class<? extends SchemaDefiner> |
getSchemaDefinerType() |
void |
initializePersistenceStrategy(CacheMappingType cacheMappingType,
Set<EntityKeyMetadata> entityTypes,
Set<AssociationKeyMetadata> associationTypes,
Set<IdSourceKeyMetadata> idSourceTypes)
Initializes the persistence strategy to be used when accessing the datastore.
|
void |
injectServices(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistryImplementor) |
void |
start() |
void |
stop() |
allowsTransactionEmulation, getDefaultQueryParserServiceType, getTransactionCoordinatorBuilderpublic void configure(Map map)
configure in interface org.hibernate.service.spi.Configurablepublic Class<? extends GridDialect> getDefaultDialect()
getDefaultDialect in interface DatastoreProviderpublic void injectServices(org.hibernate.service.spi.ServiceRegistryImplementor serviceRegistryImplementor)
injectServices in interface org.hibernate.service.spi.ServiceRegistryAwareServicepublic void start()
start in interface org.hibernate.service.spi.Startablepublic void initializePersistenceStrategy(CacheMappingType cacheMappingType, Set<EntityKeyMetadata> entityTypes, Set<AssociationKeyMetadata> associationTypes, Set<IdSourceKeyMetadata> idSourceTypes)
cacheMappingType - the CacheMappingType to be usedentityTypes - meta-data of all the entity types registered with the current session factoryassociationTypes - meta-data of all the association types registered with the current session factoryidSourceTypes - meta-data of all the id source types registered with the current session factorypublic LocalCacheManager<?,?,?> getCacheManager()
public KeyProvider<?,?,?> getKeyProvider()
public void stop()
stop in interface org.hibernate.service.spi.Stoppablepublic Class<? extends SchemaDefiner> getSchemaDefinerType()
getSchemaDefinerType in interface DatastoreProvidergetSchemaDefinerType in class BaseDatastoreProviderCopyright © 2010–2016 Hibernate. All rights reserved.