com.ibm.casemgmt.api.context
Class BaseP8ConnectionCache
- java.lang.Object
-
- com.ibm.casemgmt.api.context.BaseP8ConnectionCache
-
- All Implemented Interfaces:
- P8ConnectionCache
- Direct Known Subclasses:
- SimpleP8ConnectionCache
public abstract class BaseP8ConnectionCache extends java.lang.Object implements P8ConnectionCache
Abstract base class implementation of theP8ConnectionCacheinterface. This base class creates P8Connectionobjects in a default way but calls methods implemented by a subclass to cache theConnectionobjects or retrieve theConnectionobjects out of cache in whatever way is appropriate for that subclass. For example, a particular subclass may use an HTTP Session object to cache theConnectionobjects.- ID status:
- ID review by David Newhall
-
-
Constructor Summary
Constructors Constructor and Description BaseP8ConnectionCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description com.filenet.api.core.ConnectiongetP8Connection(java.lang.String ceURI)Obtains a P8Connectionobject for a given Content Engine domain URI.
-
-
-
Method Detail
-
getP8Connection
public final com.filenet.api.core.Connection getP8Connection(java.lang.String ceURI)
Obtains a P8Connectionobject for a given Content Engine domain URI. This base class implementation retrieves the Connection object by calling a subclass-implemented method. If theConnectionobject is not yet cached, this method creates it in a default way and calls a subclass-implemented method to save the object in the cache.In this way the creation of the
Connectionobjects is controlled by this base class, but the manner of caching theConnectionobjects is controlled by a subclass.- Specified by:
getP8Connectionin interfaceP8ConnectionCache- Parameters:
ceURI- the Content Engine domain URI- ID status:
- ID review by David Newhall
-
-