com.github.jknack.mwa.ModeAware Maven / Gradle / Ivy
package com.github.jknack.mwa;
import org.springframework.beans.factory.Aware;
/**
* Interface to be implemented by any bean that wishes to be notified
* of the {@link Mode} that it runs in.
*
* @author edgar.espina
* @since 0.2.3
*/
public interface ModeAware extends Aware {
/**
* Set the {@code Mode} that this object runs in.
* @param mode The mode runs in.
*/
void setMode(Mode mode);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy