com.github.jknack.mwa.ComponentConfigurer Maven / Gradle / Ivy
package com.github.jknack.mwa;
import org.springframework.core.Ordered;
/**
* Configure an infrastructure components at the time the application is ready to go.
* Additionally, a configurer might implement the Ordered contract.
*
* @author edgar.espina
*
* @param The component type.
* @see Ordered
*/
public interface ComponentConfigurer {
/**
* Configure an infrastructure component.
*
* @param component The component to be configured. It is never null.
* @throws Exception If somethings goes wrong.
*/
void configure(T component) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy