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- See Also:
ProvidesService
,RequiresService
,ConfigurableDaemonModule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
initialize
void initialize(Session session) throws RepositoryException
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
-
-