/*
 * JBoss, Home of Professional Open Source.
 * Copyright 2006, Red Hat Middleware LLC, and individual contributors
 * as indicated by the @author tags. See the copyright.txt file in the
 * distribution for a full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */
package org.jboss.wsf.stack.cxf;

import javax.xml.ws.handler.MessageContext;

import org.apache.cxf.jaxws.context.WebServiceContextImpl;
import org.jboss.ws.common.invocation.WebServiceContextAdapter;
import org.jboss.wsf.spi.invocation.ExtensibleWebServiceContext;
import org.jboss.wsf.spi.invocation.WebServiceContextFactory;

/**
 * WebServiceContext factory for CXF integration.
 *
 * @author alessio.soldano@jboss.com
 * @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
 */
public class WebServiceContextFactoryImpl extends WebServiceContextFactory
{
   @Override
   public ExtensibleWebServiceContext newWebServiceContext(MessageContext messageContext)
   {
      return new WebServiceContextAdapter(new WebServiceContextImpl(messageContext));
   }
}

@@ -59,10 +59,10 @@
 t 20
-06
+12
 , Re
@@ -1186,15 +1186,13 @@
 s.ws
-.common
+f.spi
 .inv
@@ -1191,32 +1191,42 @@
 .spi.invocation.
+Extensible
 WebServiceContex
@@ -1226,23 +1226,16 @@
 eContext
-Adapter
 ;%0Aimport
@@ -1260,34 +1260,24 @@
 .invocation.
-Extensible
 WebServiceCo
@@ -1273,32 +1273,40 @@
 ebServiceContext
+Delegate
 ;%0Aimport org.jbo
@@ -1741,15 +1741,16 @@
 text
-Adap
+Delega
 te
-r
 (new

Use WebServiceContextDelegate wrapper instead of the WebServiceContextAdapter