public interface ConfigurableDaemonModule extends DaemonModule
DaemonModule
that needs module configuration.
A module config Node
is automatically passed in
with the configure(javax.jcr.Node)
method on startup and when the module config changes.Modifier and Type | Method and Description |
---|---|
void |
configure(javax.jcr.Node moduleConfig)
Lifecycle callback to allow a
DaemonModule to configure itself. |
initialize, shutdown
void configure(javax.jcr.Node moduleConfig) throws javax.jcr.RepositoryException
DaemonModule
to configure itself.
This method is called on startup iff there is module config node,
and before DaemonModule.initialize(javax.jcr.Session)
is called.moduleConfig
- the node containing the configuration of this modulejavax.jcr.RepositoryException
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.