Class ContainerHelper
- java.lang.Object
-
- com.tangosol.coherence.jcache.common.ContainerHelper
-
public class ContainerHelper extends Object
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
Nested Classes Modifier and Type Class Description static class
ContainerHelper.JCacheLifecycleInterceptor
AnEventInterceptor
that initializes JCache for running within a container.
-
Constructor Summary
Constructors Constructor Description ContainerHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
isContainerContext(ExtensibleConfigurableCacheFactory eccf)
Return true if running in a container environment.static boolean
isWLSContainer()
Deprecated.
-
-
-
Method Detail
-
isContainerContext
public static boolean isContainerContext(ExtensibleConfigurableCacheFactory eccf)
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.
-
-