Class BootstrapCoherenceExtension

java.lang.Object
com.oracle.bedrock.junit.BootstrapCoherenceExtension
All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.Extension

public class BootstrapCoherenceExtension extends Object implements org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.AfterAllCallback
A JUnit 5 extension that bootstraps a local Coherence cluster member in the BeforeAllCallback.beforeAll(ExtensionContext) method and shuts down Coherence in the AfterAllCallback.afterAll(ExtensionContext) method.
Since:
22.06
Author:
Jonathan Knight 2022.06.23
  • Constructor Details

    • BootstrapCoherenceExtension

      public BootstrapCoherenceExtension()
  • Method Details

    • beforeAll

      public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
      Specified by:
      beforeAll in interface org.junit.jupiter.api.extension.BeforeAllCallback
      Throws:
      Exception
    • afterAll

      public void afterAll(org.junit.jupiter.api.extension.ExtensionContext context)
      Specified by:
      afterAll in interface org.junit.jupiter.api.extension.AfterAllCallback