Package org.onehippo.repository.modules
Interface ConfigurableDaemonModule
-
- All Superinterfaces:
DaemonModule
- All Known Implementing Classes:
AbstractReconfigurableDaemonModule
public interface ConfigurableDaemonModule extends DaemonModule
DaemonModule
that needs module configuration. A module configNode
is automatically passed in with theconfigure(javax.jcr.Node)
method on startup and when the module config changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configure(Node moduleConfig)
Lifecycle callback to allow aDaemonModule
to configure itself.-
Methods inherited from interface org.onehippo.repository.modules.DaemonModule
initialize, shutdown
-
-
-
-
Method Detail
-
configure
void configure(Node moduleConfig) throws RepositoryException
Lifecycle callback to allow aDaemonModule
to configure itself. This method is called on startup if there is module config node, and beforeDaemonModule.initialize(javax.jcr.Session)
is called.- Parameters:
moduleConfig
- the node containing the configuration of this module- Throws:
RepositoryException
-
-