http://jira.jboss.com/jira/browse/JBAS-1895A patch that try to implement some missing pieces of jsr-88.