ConfigurationViewService
Returns the configuration properties (as view models) such that they can be rendered into the UI (in the Wicket Viewer, under the "Configuration" menu).
This is the backing service used by ConfigurationMenu .
API
interface ConfigurationViewService {
Set<ConfigurationProperty> getConfigurationProperties(Scope scope) (1)
}
1 | getConfigurationProperties(Scope)
Returns all properties, each as an instance of ConfigurationProperty (a view model). Mask sensitive values if required. |
Members
getConfigurationProperties(Scope)
Returns all properties, each as an instance of ConfigurationProperty (a view model). Mask sensitive values if required.
Related Services
-
The configuration properties for Apache Causeway can also be obtained from the CausewayConfiguration domain service. These provide type-safe access to all
causeway.*
configuration properties.CausewayConfiguration
is part of causeway-core-config rather than the applib.To use it therefore requires this dependency:
pom.xml<dependency> <groupId>org.apache.causeway.core</groupId> <artifactId>causeway-core-config</artifactId> </dependency>
-
The
ConfigurationMenu
provides a UI to access this service.