Class Init

All Implemented Interfaces:
Init, Contextualizable, LogEnabled

public class Init extends AbstractLogEnabled implements Init, Contextualizable
Init class for FO application.
  • Field Details

  • Constructor Details

    • Init

      public Init()
  • Method Details

    • contextualize

      public void contextualize(Context context) throws ContextException
      Specified by:
      contextualize in interface Contextualizable
      Throws:
      ContextException
    • init

      public void init() throws Exception
      Description copied from interface: Init
      Method to be implemented by user Init class. Here you should manage the business part of your application init. As an Avalon component, class extending this interface have access to all Cocoon-managed components, all plugins, ...
      Specified by:
      init in interface Init
      Throws:
      Exception - if an error occurs
    • sendErrorMail

      protected void sendErrorMail()
      Send an error e-mail to the administrator to notify that the server cache can't be written.