UrlFactory is now compatible with JBoss 7 too