All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mx.path.gateway.configuration.Configurable Maven / Gradle / Ivy

There is a newer version: 4.4.0
Show newest version
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