![JAR search and dependency download from the Maven repository](/logo.png)
com.mx.path.gateway.configuration.Configurable Maven / Gradle / Ivy
package com.mx.path.gateway.configuration;
import com.mx.path.core.common.configuration.ConfigurationException;
/**
* Interface for Configurations and GatewayObjects (Facilities, GatewayBehaviors, GatewayServices)
*
* Event Order: {@link #initialize()}, {@link #validate(ConfigurationState)}
*/
public interface Configurable {
/**
* Optionally, add to class and implement to have the instance initialize itself after data binding is complete
*/
default void initialize() {
}
/**
* Optionally, add to class and implement custom validation.
* Throw {@link ConfigurationException} on validation failure
*/
default void validate(ConfigurationState state) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy