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

org.openxma.rwt.bridge.XMARWTConfiguration Maven / Gradle / Ivy

The newest version!
package org.openxma.rwt.bridge;

public class XMARWTConfiguration {
	
	static XMARWTConfiguration xmaRWTConfiguration;
	
	String defaultComponentName;
	
	static public void createConfiguration(XMARWTApplicationConfigurator oac) {
		xmaRWTConfiguration = new XMARWTConfiguration(oac);
	}
	
	static public XMARWTConfiguration getInstance() {
		if (xmaRWTConfiguration == null) {
			throw new RuntimeException("XMARWTConfiguration not created.");
		}
		return xmaRWTConfiguration;
	}
	
	public XMARWTConfiguration(XMARWTApplicationConfigurator oac) {
		defaultComponentName = oac.getDefaultComponentName();		
	}
	
	public String getDefaultComponentName() {
		return defaultComponentName;
	}	

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy