public interface Fraction<T extends Fraction>
While each portion of functionality is called a "fraction", this class maps to the configuration there-of. It should be implemented to include whatever configuration is appropriate for the subset of functionality.
In the event a logical "fraction" requires no configuration, a subclass of this class is not required.
For functionality coming in through WildFly, the implementation is
a sub-class of the matching WildFly subsystem configuration tree from
|Modifier and Type||Method and Description|
Apply whatever defaults are required.
The container always calls this method, but the default implementation delegates to
default T applyDefaults()
default T applyDefaults(boolean hasConfiguration)
applyDefaults() this method allows a fraction to customize the defaults depending on whether this fraction was explicitly configured by a
user or not.
Copyright © 2019 JBoss by Red Hat. All rights reserved.