public class GemFireAsLastResourceConnectionAcquiringAspect extends AbstractGemFireAsLastResourceAspectSupport
GemFireAsLastResourceConnectionAcquiringAspect
class is a AbstractGemFireAsLastResourceAspectSupport
implementation responsible for acquiring a GemFire Connection from GemFire's JCA ResourceAdapter,
GFConnectionFactory
after a CMT/JTA Transaction is began, which is initiated by
Spring's Transaction infrastructure.GFConnectionFactory
,
Aspect
,
Before
,
AbstractGemFireAsLastResourceAspectSupport
AbstractGemFireAsLastResourceAspectSupport.GemFireConnectionHolder
DEFAULT_GEMFIRE_JCA_RESOURCE_ADAPTER_JNDI_NAME, DEFAULT_THROW_ON_ERROR, NO_OP_LOGGER
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
GemFireAsLastResourceConnectionAcquiringAspect() |
Modifier and Type | Method and Description |
---|---|
void |
doGemFireConnectionFactoryGetConnection()
Acquires (opens) a GemFire JCA ResourceAdapter Connection after the Spring CMT/JTA Transaction begins.
|
protected Integer |
getDefaultOrder()
Returns the default order used by this AOP Aspect in the chain of Aspects configured
in Spring's Transaction Management.
|
org.apache.geode.ra.GFConnectionFactory |
getGemFireConnectionFactory()
Returns a reference to the configured
GFConnectionFactory instance. |
atTransactionalMethod, atTransactionalType, format, getContext, getGemFireCache, getGemFireJcaResourceAdapterJndiName, getInitialContextFactory, getLogger, getOrder, getProviderUrl, isThrowOnError, logDebugInfo, logError, logInfo, logTraceInfo, logTraceInfo, logWarning, newInitialContext, newLogger, resolveContext, resolveEnvironment, resolveGemFireCache, resolveGemFireJcaResourceAdapterJndiName, setOrder, withThrowOnError
public GemFireAsLastResourceConnectionAcquiringAspect()
public void doGemFireConnectionFactoryGetConnection()
protected Integer getDefaultOrder()
getDefaultOrder
in class AbstractGemFireAsLastResourceAspectSupport
public org.apache.geode.ra.GFConnectionFactory getGemFireConnectionFactory()
GFConnectionFactory
instance.GFConnectionFactory
instance; may be null.GFConnectionFactory
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.