Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Request Manager > Customizing the Arbortext PE Request Manager > Writing a Custom Cache Manager > Implementing a Cache Manager > The init Method
  
The init Method
The Arbortext PE Request Manager calls the init method when it initializes. It takes an E3RequestContext object (described in Arbortext Publishing Engine Request Context Object) and a com.arbortext.e3cf.E3CacheManagerDescriptor as parameters.
The init method performs initialization for the cache manager object. If a cache manager can't initialize, it should throw an exception (using the class com.arbortext.e3.E3RequestException) with an error message explaining the circumstances causing the error.
The init method runs before the Arbortext PE sub-processes start, so it can't retrieve data from an Arbortext PE sub-process to cache. To retrieve and cache data from an Arbortext PE sub-process, you need to develop and load an Arbortext PE sub-process Initializer (explained in Writing a Custom Initializer).