org.tbwork.anole.loader.core.loader.AnoleLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of anole-loader Show documentation
Show all versions of anole-loader Show documentation
An awesome property or configuration loader for java.
The newest version!
package org.tbwork.anole.loader.core.loader;
import org.tbwork.anole.loader.core.loader.impl.AnoleCallBack;
public interface AnoleLoader {
/**
* Load "*.anole" files under the class-path directories.
* Note: Default log level is INFO.
*/
public void load();
/**
* Load multiple configuration files.
*/
public void load(String ... configLocations);
/**
* Set a callback logic which will be called after all configuration files were loaded.
* @param anoleCallBack
*/
public void setCallback(AnoleCallBack anoleCallBack);
}