TOMEE-1135 cxf changed a bit the way lifecycle is handled so adapting our code

git-svn-id: https://svn.apache.org/repos/asf/tomee/tomee/trunk@1573266 13f79535-47bb-0310-9956-ffa450edef68