public class ContainerHelper extends Object
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.
Modifier and Type | Class and Description |
---|---|
static class |
ContainerHelper.JCacheLifecycleInterceptor
An
EventInterceptor that initializes JCache for running within a container. |
Constructor and Description |
---|
ContainerHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isContainerContext(ExtensibleConfigurableCacheFactory eccf)
Return true if running in a container environment.
|
static boolean |
isWLSContainer()
Deprecated.
|
public static boolean isContainerContext(ExtensibleConfigurableCacheFactory eccf)
eccf
- use resource registry from this eccf context to determine if running in a container or not.public static boolean isWLSContainer()