Class GemFireAsLastResourceConnectionAcquiringAspect

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

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

    • GemFireAsLastResourceConnectionAcquiringAspect

      public GemFireAsLastResourceConnectionAcquiringAspect()
  • Method Details

    • doGemFireConnectionFactoryGetConnection

      public void doGemFireConnectionFactoryGetConnection()
      Acquires (opens) a GemFire JCA ResourceAdapter Connection after the Spring CMT/JTA Transaction begins.
    • 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.
    • getGemFireConnectionFactory

      public org.apache.geode.ra.GFConnectionFactory getGemFireConnectionFactory()
      Returns a reference to the configured GFConnectionFactory instance.
      Returns:
      a reference to the configured GFConnectionFactory instance; may be null.
      See Also:
      • GFConnectionFactory