Skip navigation links

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

E17273-03


oracle.stellent.wcm.server.cache
Class MemoryCacheFactory

java.lang.Object
  extended by oracle.stellent.wcm.server.cache.MemoryCacheFactory

All Implemented Interfaces:
WcmEventListener

public class MemoryCacheFactory
extends java.lang.Object
implements WcmEventListener

Interface used for handling locating files used to during WCM method evaluation.


Constructor Summary
MemoryCacheFactory(ClientApplication clientApplication)
           

 

Method Summary
 CacheContainer getCacheContainer(SiteRequest siteRequest)
          Retrieve the Content Cache associated with the given site request
 LazyLoadingContent getStagedFile(ContentID contentID, SiteRequest siteRequest)
          Retrieve the path to the file in the JSP context
 void onWcmEvent(WcmEvent wcmEvent)
          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

MemoryCacheFactory

public MemoryCacheFactory(ClientApplication clientApplication)

Method Detail

getStagedFile

public LazyLoadingContent getStagedFile(ContentID contentID,
                                        SiteRequest siteRequest)
                                 throws java.io.IOException,
                                        oracle.stellent.ridc.IdcClientException
Retrieve the path to the file in the JSP context
Parameters:
contentID - the content ID or relative web path that uses the contentID for the file name
siteRequest - the site request
Returns:
a reference to the file
Throws:
oracle.stellent.wcm.server.ServerException
java.io.IOException
oracle.stellent.ridc.IdcClientException

getCacheContainer

public CacheContainer getCacheContainer(SiteRequest siteRequest)
Retrieve the Content Cache associated with the given site request
Parameters:
siteRequest - the current request
Returns:
the cache

onWcmEvent

public void onWcmEvent(WcmEvent wcmEvent)
Called when the event occurs
Specified by:
onWcmEvent in interface WcmEventListener
Parameters:
wcmEvent - the event

Skip navigation links

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

E17273-03


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