public class GemFireAsLastResourceConnectionClosingAspect extends AbstractGemFireAsLastResourceAspectSupport
GemFireAsLastResourceConnectionClosingAspect
class is a AbstractGemFireAsLastResourceAspectSupport
implementation responsible for closing the GemFire Connection obtained from the GemFire JCA ResourceAdapter
deployed in a managed environment when using GemFire as the Last Resource in a CMT/JTA Transaction
initiated from Spring's Transaction infrastructure.Aspect
,
After
,
AbstractGemFireAsLastResourceAspectSupport
AbstractGemFireAsLastResourceAspectSupport.GemFireConnectionHolder
DEFAULT_GEMFIRE_JCA_RESOURCE_ADAPTER_JNDI_NAME, DEFAULT_THROW_ON_ERROR, NO_OP_LOGGER
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
GemFireAsLastResourceConnectionClosingAspect() |
Modifier and Type | Method and Description |
---|---|
void |
doGemFireConnectionClose()
Closes the GemFire JCA ResourceAdapter Connection after the Spring CMT/JTA Transaction completes.
|
protected Integer |
getDefaultOrder()
Returns the default order used by this AOP Aspect in the chain of Aspects configured
in Spring's Transaction Management.
|
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 GemFireAsLastResourceConnectionClosingAspect()
public void doGemFireConnectionClose()
protected Integer getDefaultOrder()
getDefaultOrder
in class AbstractGemFireAsLastResourceAspectSupport
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.