ConfigurationViewService (interface)

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

ConfigurationViewService.java
interface ConfigurationViewService {
  Set<ConfigurationProperty> getVisibleConfigurationProperties()     (1)
  Set<ConfigurationProperty> getEnvironmentProperties()
}
1 getVisibleConfigurationProperties()

Returns all properties, each as an instance of ConfigurationProperty (a view model). Mask sensitive values if required.

Members

getVisibleConfigurationProperties()

Returns all properties, each as an instance of ConfigurationProperty (a view model). Mask sensitive values if required.

  • The configuration properties for Apache Isis can also be obtained from the IsisConfiguration domain service. These provide type-safe access to all isis.* configuration properties.

    IsisConfiguration is part of isis-core-config rather than the applib.

    To use it therefore requires this dependency:

    pom.xml
    <dependency>
        <groupId>org.apache.isis.core</groupId>
        <artifactId>isis-core-config</artifactId>
    </dependency>
  • The ConfigurationMenu provides a UI to access this service.