Class GemFireAsLastResourceConnectionClosingAspect

java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractGemFireAsLastResourceAspectSupport
org.springframework.data.gemfire.config.annotation.support.GemFireAsLastResourceConnectionClosingAspect
All Implemented Interfaces:
org.springframework.core.Ordered

public class GemFireAsLastResourceConnectionClosingAspect extends AbstractGemFireAsLastResourceAspectSupport
The 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.
Since:
2.0.0
See Also:
  • Constructor Details

    • GemFireAsLastResourceConnectionClosingAspect

      public GemFireAsLastResourceConnectionClosingAspect()
  • Method Details

    • doGemFireConnectionClose

      public void doGemFireConnectionClose()
      Closes the GemFire JCA ResourceAdapter Connection after the Spring CMT/JTA Transaction completes.
    • getDefaultOrder

      protected Integer getDefaultOrder()
      Returns the default order used by this AOP Aspect in the chain of Aspects configured in Spring's Transaction Management.
      Overrides:
      getDefaultOrder in class AbstractGemFireAsLastResourceAspectSupport
      Returns:
      an int value specifying the default order used by this AOP Aspect in the chain of Aspects configured in Spring's Transaction Management.