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 the P8ConnectionCache interface. This base class creates P8 Connection objects in a default way but calls methods implemented by a subclass to cache the Connection objects or retrieve the Connection objects out of cache in whatever way is appropriate for that subclass. For example, a particular subclass may use an HTTP Session object to cache the Connection objects.
    ID status:
    ID review by David Newhall
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.filenet.api.core.Connection getP8Connection(java.lang.String ceURI)
      Obtains a P8 Connection object for a given Content Engine domain URI.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BaseP8ConnectionCache

        public BaseP8ConnectionCache()
    • Method Detail

      • getP8Connection

        public final com.filenet.api.core.Connection getP8Connection(java.lang.String ceURI)
        Obtains a P8 Connection object for a given Content Engine domain URI. This base class implementation retrieves the Connection object by calling a subclass-implemented method. If the Connection object 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 Connection objects is controlled by this base class, but the manner of caching the Connection objects is controlled by a subclass.

        Specified by:
        getP8Connection in interface P8ConnectionCache
        Parameters:
        ceURI - the Content Engine domain URI
        ID status:
        ID review by David Newhall