Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-02


oracle.stellent.wcm.server.content
Class CacheSyncManager

java.lang.Object
  extended by oracle.stellent.wcm.server.content.CacheSyncManager

All Implemented Interfaces:
EventListener

public class CacheSyncManager
extends java.lang.Object
implements EventListener

Handles keeping the cache updated based on information from the Content SPI.


Constructor Summary
CacheSyncManager(EventProcessor eventProcessor, ContentAdapter contentAdapter, ContentCache contentCache)
          Synchronize the given content adapter and the content cache

 

Method Summary
 ContentAdapter getContentAdapter()
           
 ContentCache getContentCache()
           
 void onEvent(EventContext eventContext)
          Called when the event occurs

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

CacheSyncManager

public CacheSyncManager(EventProcessor eventProcessor,
                        ContentAdapter contentAdapter,
                        ContentCache contentCache)
Synchronize the given content adapter and the content cache
Parameters:
eventProcessor - the event processor to listen
contentAdapter - the content adapter
contentCache - (optional) the cache

Method Detail

getContentAdapter

public ContentAdapter getContentAdapter()

getContentCache

public ContentCache getContentCache()

onEvent

public void onEvent(EventContext eventContext)
Called when the event occurs
Specified by:
onEvent in interface EventListener
Parameters:
eventContext - the event context

Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-02


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.