} else if (Float.class.equals(typeClass)) {
value = Float.valueOf(strValue);
} else if (Double.class.equals(typeClass)) {
value = Double.valueOf(strValue);
} else if (Class.class.equals(typeClass)) {
value = new ClassReference(strValue);
} else if (typeClass.isEnum()) {
value = Enum.valueOf(typeClass.asSubclass(Enum.class), strValue);
} else {
throw new DeploymentException("Unrecognized env-entry type: " + type);
}