Interface DaemonModule

All Known Subinterfaces:
ConfigurableDaemonModule
All Known Implementing Classes:
AbstractReconfigurableDaemonModule

public interface DaemonModule
A DaemonModule represents a repository-managed component. DaemonModules are started by the repository on startup. You can register your own DaemonModule by declaring it in /hippo:configuration/hippo:modules
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Lifecycle callback method that is called when the component is started.
    void
    Lifecycle callback method that is called by the repository before shutting down
  • Method Details

    • initialize

      void initialize(Session session) throws RepositoryException
      Lifecycle callback method that is called when the component is started.
      Parameters:
      session - a Session that can be used throughout this module's life.
      Throws:
      RepositoryException
    • shutdown

      void shutdown()
      Lifecycle callback method that is called by the repository before shutting down