Package org.onehippo.repository.modules
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(Session session) Lifecycle callback method that is called when the component is started.void
shutdown()
Lifecycle callback method that is called by the repository before shutting down
-
Method Details
-
initialize
Lifecycle callback method that is called when the component is started.- Parameters:
session
- aSession
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
-