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

com.github.jknack.mwa.ComponentConfigurer Maven / Gradle / Ivy

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