Class ContainerHelper
java.lang.Object
com.tangosol.coherence.jcache.common.ContainerHelper
Helpers for supporting Coherence JCache in Container Environment.
After ContainerAdapter has initialized Coherence, the Lifecycle event ACTIVATED will trigger activation of Coherence JCache artifacts within a container context.
Provides support for configuring Coherence JCache from a GAR.
- Since:
- Coherence 12.2.1
- Author:
- jf 2014.07.28
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AnEventInterceptor
that initializes JCache for running within a container. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Return true if running in a container environment.static boolean
Deprecated.
-
Constructor Details
-
ContainerHelper
public ContainerHelper()
-
-
Method Details
-
isContainerContext
Return true if running in a container environment.- Parameters:
eccf
- use resource registry from this eccf context to determine if running in a container or not.- Returns:
- true iff running in a container environment.
-
isWLSContainer
public static boolean isWLSContainer()Deprecated.Container specific solution to identify if running in container. No longer used but keep around just in case needed in future.- Returns:
- true iff running in a WLS Container context.
-