maeste/jboss-as — comment on commit 7456096a07d11971325de60136cd548fe3b143b3
File: connector/src/main/java/org/jboss/as/connector/pool/Constants.java line 98
By bstansberry:

FYI, there's an EnumValidator class the does this.