Interface I_CmsXmlConfigurationWithUpdateHandler

All Superinterfaces:
I_CmsConfigurationParameterHandler, I_CmsXmlConfiguration
All Known Implementing Classes:
CmsSitesConfiguration

Interface for configurations which should run custom logic when the configuration is written back by OpenCms.

  • Method Details

    • handleUpdate

      void handleUpdate() throws Exception
      Called when OpenCms has written the configuration to the file system.

      Throws:
      Exception - if something goes wrong
    • setCmsObject

      Called during startup with a CmsObject with admin privileges.
      Parameters:
      cms - the CMS context