Arbortext Publishing Engine Programmer's Guide (Guide de programmeur d'Arbortext Publishing Engine) > 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 Sous-processus Arbortext PE start, so it can't retrieve data from an Sous-processus Arbortext PE to cache. To retrieve and cache data from an Sous-processus Arbortext PE, you need to develop and load an Sous-processus Arbortext PE Initializer (explained in Writing a Custom Initializer).