*/
@SuppressWarnings("unchecked")
private static <T> T createObject(String aClassName) {
//GWT doesn't support instance creation from a String (via reflection)
if(aClassName.equals(DefaultClientConnector.class.getName())) {
return (T)new DefaultClientConnector();
} else if(aClassName.equals(GWTStreamingClientConnector.class.getName())) {
return (T)GWT.create(GWTStreamingClientConnector.class);
} else {
throw new ConfigurationException("The configured class \"" + aClassName + "\" is unknown!");
}