Package com.oracle.bedrock.junit
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
BootstrapCoherenceExtension
public BootstrapCoherenceExtension()
-
-
Method Details
-
beforeAll
- Specified by:
beforeAllin interfaceorg.junit.jupiter.api.extension.BeforeAllCallback- Throws:
Exception
-
afterAll
public void afterAll(org.junit.jupiter.api.extension.ExtensionContext context) - Specified by:
afterAllin interfaceorg.junit.jupiter.api.extension.AfterAllCallback
-