"Usage parameter concrete class is a Java keyword!"); if (!Strings.isValidJavaIdentifier(paramName)) throw new DeploymentException( "Usage parameter concrete class generator, invalid Java identifier!");
if (name == null || name.trim().length() == 0) throw new DeploymentException("activation-config-property doesn't have a name"); if (Strings.isValidJavaIdentifier(name) == false) throw new DeploymentException("activation-config-property '" + name + "' is not a valid java identifier"); md.setName(name);