there got to be a better way of handling server versions difference than listing JBoss specific server constants - why is this not delegated out instead of hardcoded here?