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

net.anotheria.asg.util.rmi.RMIConfigFactory Maven / Gradle / Ivy

package net.anotheria.asg.util.rmi;

import org.configureme.ConfigurationManager;

/**
 * The factory for the RMIConfig.
 *
 * @author another
 * @version $Id: $Id
 */
public class RMIConfigFactory {
	
	/**
	 * The singleton instance of the rmiconfig.
	 */
	private static final RMIConfig instance;
	
	static{
		instance = new RMIConfig();
		ConfigurationManager.INSTANCE.configure(instance);
	}
	
	/**
	 * Returns the RMIConfig.
	 *
	 * @return a {@link net.anotheria.asg.util.rmi.RMIConfig} object.
	 */
	public static final RMIConfig getRMIConfig(){
		return instance;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy