public static class ContainerHelper.JCacheLifecycleInterceptor extends Object implements EventInterceptor<LifecycleEvent>
EventInterceptor
that initializes JCache for running within a container.
A Container-aware CoherenceBasedCachingProvider and CacheManager are created when ECCF LifeCycle Event ACTIVATED occurs in a container context.
Constructor and Description |
---|
JCacheLifecycleInterceptor() |
Modifier and Type | Method and Description |
---|---|
int |
getActivatedCount()
Added for Coherence JCache functional testing.
|
boolean |
isContainerContext()
Added for Coherence JCache functional testing.
|
void |
onEvent(LifecycleEvent event)
Perform necessary processing of the specified
Event . |
public void onEvent(LifecycleEvent event)
EventInterceptor
Event
.onEvent
in interface EventInterceptor<LifecycleEvent>
event
- the Event to be processedEvent.nextInterceptor()
public int getActivatedCount()
public boolean isContainerContext()