DaemonModules to inform the system about which services it uses from the
HippoServiceRegistryand which are provided by other
DaemonModules. Together with the
ProvidesServiceannotation, this annotation determines the order in which modules are started.
The optional optional attribute informs the system not to fail loading the module in the absence of the service. I.e. if there is no module that provides the service. If you specify the optional attribute it needs to be an array of booleans that is equal in length to the array of types that is specified in the types attribute.
public abstract Class<?> types
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.