@Configuration @EnableTransactionManagement public class GemfireCacheTransactionsConfiguration extends Object
GemfireCacheTransactionsConfiguration
class is a Spring @Configuration
class
used to enable Spring's Transaction Management infrastructure along with SDG's GemfireTransactionManager
to manage local, cache transactions for either Pivotal GemFire or Apache Geode.GemFireCache
,
Bean
,
Configuration
,
GemfireTransactionManager
,
EnableTransactionManagement
Constructor and Description |
---|
GemfireCacheTransactionsConfiguration() |
Modifier and Type | Method and Description |
---|---|
GemfireTransactionManager |
transactionManager(org.apache.geode.cache.GemFireCache gemfireCache)
Declares and registers SDG's
GemfireTransactionManager as the transactionManager
in Spring's Transaction Management infrastructure to manage local, GemFire/Geode cache transactions. |
public GemfireCacheTransactionsConfiguration()
@Bean public GemfireTransactionManager transactionManager(org.apache.geode.cache.GemFireCache gemfireCache)
GemfireTransactionManager
as the transactionManager
in Spring's Transaction Management infrastructure to manage local, GemFire/Geode cache transactions.gemfireCache
- reference to the GemFireCache
.GemfireTransactionManager
initialized with the given GemFireCache
.GemfireTransactionManager
,
GemFireCache
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.