[jboss-cvs] JBossAS SVN: r65751 - branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Oct 2 03:13:41 EDT 2007


Author: thomas.diesler at jboss.com
Date: 2007-10-02 03:13:41 -0400 (Tue, 02 Oct 2007)
New Revision: 65751

Removed:
   branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingCallPropertyMetaData.java
   branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingHandlerChainMetaData.java
   branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingHandlerChainsMetaData.java
   branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingHandlerMetaData.java
   branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingInitParamMetaData.java
   branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingPortComponentRefMetaData.java
   branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingServiceRefMetaData.java
   branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingStubPropertyMetaData.java
   branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/ServiceRefObjectFactory.java
Log:
Remove delegating serviceref handlers

Deleted: branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingCallPropertyMetaData.java
===================================================================
--- branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingCallPropertyMetaData.java	2007-10-02 02:43:42 UTC (rev 65750)
+++ branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingCallPropertyMetaData.java	2007-10-02 07:13:41 UTC (rev 65751)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.container.jboss42.serviceref;
-
-// $Id: UnifiedServiceRefMetaData.java 4044 2007-08-01 08:23:22Z thomas.diesler at jboss.com $
-
-import org.jboss.ws.integration.ServiceRefElement;
-import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedCallPropertyMetaData;
-
-/**
- * @deprecated
- */
-public class DelegatingCallPropertyMetaData extends ServiceRefElement
-{
-   UnifiedCallPropertyMetaData delegate;
-
-   public DelegatingCallPropertyMetaData()
-   {
-      delegate = new UnifiedCallPropertyMetaData();
-   }
-
-   public void setPropName(String paramName)
-   {
-      delegate.setPropName(paramName);
-   }
-
-   public void setPropValue(String paramValue)
-   {
-      delegate.setPropValue(paramValue);
-   }
-
-}

Deleted: branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingHandlerChainMetaData.java
===================================================================
--- branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingHandlerChainMetaData.java	2007-10-02 02:43:42 UTC (rev 65750)
+++ branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingHandlerChainMetaData.java	2007-10-02 07:13:41 UTC (rev 65751)
@@ -1,58 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.container.jboss42.serviceref;
-
-// $Id: UnifiedServiceRefMetaData.java 4044 2007-08-01 08:23:22Z thomas.diesler at jboss.com $
-
-import javax.xml.namespace.QName;
-
-import org.jboss.ws.integration.ServiceRefElement;
-import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerChainMetaData;
-
-/**
- * @deprecated
- */
-public class DelegatingHandlerChainMetaData extends ServiceRefElement
-{
-   UnifiedHandlerChainMetaData delegate;
-
-   public DelegatingHandlerChainMetaData()
-   {
-      delegate = new UnifiedHandlerChainMetaData();
-   }
-
-   public void setPortNamePattern(QName portNamePattern)
-   {
-      delegate.setPortNamePattern(portNamePattern);
-   }
-
-   public void setProtocolBindings(String protocolBindings)
-   {
-      delegate.setProtocolBindings(protocolBindings);
-   }
-
-   public void setServiceNamePattern(QName serviceNamePattern)
-   {
-      delegate.setServiceNamePattern(serviceNamePattern);
-   }
-   
-}

Deleted: branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingHandlerChainsMetaData.java
===================================================================
--- branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingHandlerChainsMetaData.java	2007-10-02 02:43:42 UTC (rev 65750)
+++ branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingHandlerChainsMetaData.java	2007-10-02 07:13:41 UTC (rev 65751)
@@ -1,58 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.container.jboss42.serviceref;
-
-// $Id: UnifiedServiceRefMetaData.java 4044 2007-08-01 08:23:22Z thomas.diesler at jboss.com $
-
-import java.util.List;
-
-import org.jboss.ws.integration.ServiceRefElement;
-import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerChainMetaData;
-import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerChainsMetaData;
-
-/**
- * @deprecated
- */
-public class DelegatingHandlerChainsMetaData extends ServiceRefElement
-{
-   UnifiedHandlerChainsMetaData delegate;
-
-   public DelegatingHandlerChainsMetaData()
-   {
-      delegate = new UnifiedHandlerChainsMetaData();
-   }
-
-   public void addHandlerChain(UnifiedHandlerChainMetaData handlerChain)
-   {
-      delegate.addHandlerChain(handlerChain);
-   }
-
-   public List<UnifiedHandlerChainMetaData> getHandlerChains()
-   {
-      return delegate.getHandlerChains();
-   }
-
-   public void addHandlerChain(DelegatingHandlerChainMetaData data)
-   {
-      delegate.addHandlerChain(data.delegate);
-   }
-}

Deleted: branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingHandlerMetaData.java
===================================================================
--- branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingHandlerMetaData.java	2007-10-02 02:43:42 UTC (rev 65750)
+++ branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingHandlerMetaData.java	2007-10-02 07:13:41 UTC (rev 65751)
@@ -1,78 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.container.jboss42.serviceref;
-
-// $Id: UnifiedServiceRefMetaData.java 4044 2007-08-01 08:23:22Z thomas.diesler at jboss.com $
-
-import javax.xml.namespace.QName;
-
-import org.jboss.ws.integration.ServiceRefElement;
-import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData;
-import org.w3c.dom.Element;
-
-/**
- * @deprecated
- */
-public class DelegatingHandlerMetaData extends ServiceRefElement
-{
-   UnifiedHandlerMetaData delegate;
-
-   public DelegatingHandlerMetaData()
-   {
-      delegate = new UnifiedHandlerMetaData();
-   }
-
-   public void importStandardXml(Element root)
-   {
-      delegate.importStandardXml(root);
-   }
-
-   public void setHandlerClass(String handlerClass)
-   {
-      delegate.setHandlerClass(handlerClass);
-   }
-
-   public void setHandlerName(String value)
-   {
-      delegate.setHandlerName(value);
-   }
-
-   public void addPortName(String value)
-   {
-      delegate.addPortName(value);
-   }
-
-   public void addSoapHeader(QName qName)
-   {
-      delegate.addSoapHeader(qName);
-   }
-
-   public void addSoapRole(String value)
-   {
-      delegate.addSoapRole(value);
-   }
-
-   public void addInitParam(DelegatingInitParamMetaData data)
-   {
-      delegate.addInitParam(data.delegate);
-   }
-}

Deleted: branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingInitParamMetaData.java
===================================================================
--- branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingInitParamMetaData.java	2007-10-02 02:43:42 UTC (rev 65750)
+++ branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingInitParamMetaData.java	2007-10-02 07:13:41 UTC (rev 65751)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.container.jboss42.serviceref;
-
-// $Id: UnifiedServiceRefMetaData.java 4044 2007-08-01 08:23:22Z thomas.diesler at jboss.com $
-
-import org.jboss.ws.integration.ServiceRefElement;
-import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedInitParamMetaData;
-
-/**
- * @deprecated
- */
-public class DelegatingInitParamMetaData extends ServiceRefElement
-{
-   UnifiedInitParamMetaData delegate;
-
-   public DelegatingInitParamMetaData()
-   {
-      delegate = new UnifiedInitParamMetaData();
-   }
-
-   public void setParamName(String paramName)
-   {
-      delegate.setParamName(paramName);
-   }
-
-   public void setParamValue(String paramValue)
-   {
-      delegate.setParamValue(paramValue);
-   }
-
-}

Deleted: branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingPortComponentRefMetaData.java
===================================================================
--- branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingPortComponentRefMetaData.java	2007-10-02 02:43:42 UTC (rev 65750)
+++ branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingPortComponentRefMetaData.java	2007-10-02 07:13:41 UTC (rev 65751)
@@ -1,82 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.container.jboss42.serviceref;
-
-// $Id: UnifiedServiceRefMetaData.java 4044 2007-08-01 08:23:22Z thomas.diesler at jboss.com $
-
-import javax.xml.namespace.QName;
-
-import org.jboss.ws.integration.ServiceRefElement;
-import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedPortComponentRefMetaData;
-
-/**
- * @deprecated
- */
-public class DelegatingPortComponentRefMetaData extends ServiceRefElement
-{
-   UnifiedPortComponentRefMetaData delegate;
-
-   public DelegatingPortComponentRefMetaData(DelegatingServiceRefMetaData ref)
-   {
-      delegate = new UnifiedPortComponentRefMetaData(ref.delegate);
-   }
-
-   public void setConfigFile(String configFile)
-   {
-      delegate.setConfigFile(configFile);
-   }
-
-   public void setConfigName(String configName)
-   {
-      delegate.setConfigName(configName);
-   }
-
-   public void setEnableMTOM(Boolean enableMTOM)
-   {
-      delegate.setEnableMTOM(enableMTOM);
-   }
-
-   public void setPortComponentLink(String portComponentLink)
-   {
-      delegate.setPortComponentLink(portComponentLink);
-   }
-
-   public void setPortQName(QName portQName)
-   {
-      delegate.setPortQName(portQName);
-   }
-
-   public void setServiceEndpointInterface(String serviceEndpointInterface)
-   {
-      delegate.setServiceEndpointInterface(serviceEndpointInterface);
-   }
-
-   public void addCallProperty(DelegatingCallPropertyMetaData data)
-   {
-      delegate.addCallProperty(data.delegate);
-   }
-
-   public void addStubProperty(DelegatingStubPropertyMetaData data)
-   {
-      delegate.addStubProperty(data.delegate);
-   }
-}

Deleted: branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingServiceRefMetaData.java
===================================================================
--- branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingServiceRefMetaData.java	2007-10-02 02:43:42 UTC (rev 65750)
+++ branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingServiceRefMetaData.java	2007-10-02 07:13:41 UTC (rev 65751)
@@ -1,203 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.container.jboss42.serviceref;
-
-// $Id: UnifiedServiceRefMetaData.java 4044 2007-08-01 08:23:22Z thomas.diesler at jboss.com $
-
-import java.io.IOException;
-import java.net.URL;
-
-import javax.xml.namespace.QName;
-
-import org.jboss.ws.integration.ServiceRefMetaData;
-import org.jboss.ws.integration.UnifiedVirtualFile;
-import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedServiceRefMetaData;
-import org.w3c.dom.Element;
-
-/**
- * @deprecated
- */
-public class DelegatingServiceRefMetaData extends ServiceRefMetaData
-{
-   UnifiedServiceRefMetaData delegate;
-   
-   public DelegatingServiceRefMetaData()
-   {
-      delegate = new UnifiedServiceRefMetaData();
-   }
-   
-   class VirtualFileDelegate implements org.jboss.wsf.spi.deployment.UnifiedVirtualFile
-   {
-      private UnifiedVirtualFile vfDelegate;
-      
-      public VirtualFileDelegate(UnifiedVirtualFile vfDelegate)
-      {
-         this.vfDelegate = vfDelegate;
-      }
-
-      public org.jboss.wsf.spi.deployment.UnifiedVirtualFile findChild(String child) throws IOException
-      {
-         return new VirtualFileDelegate(vfDelegate.findChild(child));
-      }
-
-      public URL toURL()
-      {
-         return vfDelegate.toURL();
-      }
-   }
-   
-   public Object getAnnotatedElement()
-   {
-      return delegate.getAnnotatedElement();
-   }
-
-   public String getServiceRefName()
-   {
-      return delegate.getServiceRefName();
-   }
-
-   public void setAnnotatedElement(Object anElement)
-   {
-      delegate.setAnnotatedElement(anElement);
-   }
-
-   public void setServiceRefName(String serviceRefName)
-   {
-      delegate.setServiceRefName(serviceRefName);
-   }
-
-   public void importJBossXml(Element root)
-   {
-      delegate.importJBossXml(root);
-   }
-
-   public void importStandardXml(Element root)
-   {
-      delegate.importStandardXml(root);
-   }
-
-   public boolean isProcessed()
-   {
-      return delegate.isProcessed();
-   }
-
-   public void merge(ServiceRefMetaData sref)
-   {
-      UnifiedServiceRefMetaData usref = ((DelegatingServiceRefMetaData)sref).delegate;
-      delegate.merge(usref);
-   }
-
-   public void setProcessed(boolean flag)
-   {
-      delegate.setProcessed(flag);
-   }
-
-   public String getServiceInterface()
-   {
-      return delegate.getServiceInterface();
-   }
-
-   public String getServiceRefType()
-   {
-      return delegate.getServiceRefType();
-   }
-
-   public String getMappingFile()
-   {
-      return delegate.getMappingFile();
-   }
-
-   public void setVfsRoot(UnifiedVirtualFile vfsRoot)
-   {
-      delegate.setVfsRoot(new VirtualFileDelegate(vfsRoot));
-   }
-   
-   public void setConfigFile(String configFile)
-   {
-      delegate.setConfigFile(configFile);
-   }
-
-   public void setConfigName(String configName)
-   {
-      delegate.setConfigName(configName);
-   }
-
-   public void setMappingFile(String mappingFile)
-   {
-      delegate.setMappingFile(mappingFile);
-   }
-
-   public void setServiceImplClass(String serviceImplClass)
-   {
-      delegate.setServiceImplClass(serviceImplClass);
-   }
-
-   public void setServiceInterface(String serviceInterface)
-   {
-      delegate.setServiceInterface(serviceInterface);
-   }
-
-   public void setServiceQName(QName serviceQName)
-   {
-      delegate.setServiceQName(serviceQName);
-   }
-
-   public void setServiceRefType(String serviceResType)
-   {
-      delegate.setServiceRefType(serviceResType);
-   }
-
-   public void setWsdlFile(String wsdlFile)
-   {
-      delegate.setWsdlFile(wsdlFile);
-   }
-
-   public void setWsdlOverride(String wsdlOverride)
-   {
-      delegate.setWsdlOverride(wsdlOverride);
-   }
-
-   public void setHandlerChain(String handlerChain)
-   {
-      delegate.setHandlerChain(handlerChain);
-   }
-
-   public void addPortComponentRef(DelegatingPortComponentRefMetaData data)
-   {
-      delegate.addPortComponentRef(data.delegate);
-   }
-
-   public void addHandler(DelegatingHandlerMetaData data)
-   {
-      delegate.addHandler(data.delegate);
-   }
-
-   public void setHandlerChains(DelegatingHandlerChainsMetaData data)
-   {
-      delegate.setHandlerChains(data.delegate);
-   }
-
-   public void addCallProperty(DelegatingCallPropertyMetaData data)
-   {
-      delegate.addCallProperty(data.delegate);
-   }
-}

Deleted: branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingStubPropertyMetaData.java
===================================================================
--- branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingStubPropertyMetaData.java	2007-10-02 02:43:42 UTC (rev 65750)
+++ branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/DelegatingStubPropertyMetaData.java	2007-10-02 07:13:41 UTC (rev 65751)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.container.jboss42.serviceref;
-
-// $Id: UnifiedServiceRefMetaData.java 4044 2007-08-01 08:23:22Z thomas.diesler at jboss.com $
-
-import org.jboss.ws.integration.ServiceRefElement;
-import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedStubPropertyMetaData;
-
-/**
- * @deprecated
- */
-public class DelegatingStubPropertyMetaData extends ServiceRefElement
-{
-   UnifiedStubPropertyMetaData delegate;
-
-   public DelegatingStubPropertyMetaData()
-   {
-      delegate = new UnifiedStubPropertyMetaData();
-   }
-
-   public void setPropName(String paramName)
-   {
-      delegate.setPropName(paramName);
-   }
-
-   public void setPropValue(String paramValue)
-   {
-      delegate.setPropValue(paramValue);
-   }
-
-}

Deleted: branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/ServiceRefObjectFactory.java
===================================================================
--- branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/ServiceRefObjectFactory.java	2007-10-02 02:43:42 UTC (rev 65750)
+++ branches/Branch_4_2/webservices/src/main/org/jboss/wsf/container/jboss42/serviceref/ServiceRefObjectFactory.java	2007-10-02 07:13:41 UTC (rev 65751)
@@ -1,295 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.container.jboss42.serviceref;
-
-// $Id: ServiceRefObjectFactory.java 3959 2007-07-20 14:44:19Z heiko.braun at jboss.com $
-
-import javax.xml.namespace.QName;
-
-import org.jboss.ws.integration.ServiceRefElement;
-import org.jboss.xb.binding.UnmarshallingContext;
-import org.xml.sax.Attributes;
-
-/**
- * @deprecated
- */
-public class ServiceRefObjectFactory
-{
-   public Object newChild(ServiceRefElement ref, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs)
-   {
-      Object child = null;
-      if (ref instanceof DelegatingHandlerChainsMetaData)
-         child = newChild((DelegatingHandlerChainsMetaData)ref, navigator, namespaceURI, localName, attrs);
-      else if (ref instanceof DelegatingHandlerMetaData)
-         child = newChild((DelegatingHandlerMetaData)ref, navigator, namespaceURI, localName, attrs);
-      else if (ref instanceof DelegatingPortComponentRefMetaData)
-         child = newChild((DelegatingPortComponentRefMetaData)ref, navigator, namespaceURI, localName, attrs);
-      else if (ref instanceof DelegatingServiceRefMetaData)
-         child = newChild((DelegatingServiceRefMetaData)ref, navigator, namespaceURI, localName, attrs);
-      return child;
-   }
-
-   public void setValue(ServiceRefElement ref, UnmarshallingContext navigator, String namespaceURI, String localName, String value)
-   {
-      if (ref instanceof DelegatingCallPropertyMetaData)
-         setValue((DelegatingCallPropertyMetaData)ref, navigator, namespaceURI, localName, value);
-      else if (ref instanceof DelegatingHandlerChainMetaData)
-         setValue((DelegatingHandlerChainMetaData)ref, navigator, namespaceURI, localName, value);
-      else if (ref instanceof DelegatingHandlerMetaData)
-         setValue((DelegatingHandlerMetaData)ref, navigator, namespaceURI, localName, value);
-      else if (ref instanceof DelegatingInitParamMetaData)
-         setValue((DelegatingInitParamMetaData)ref, navigator, namespaceURI, localName, value);
-      else if (ref instanceof DelegatingPortComponentRefMetaData)
-         setValue((DelegatingPortComponentRefMetaData)ref, navigator, namespaceURI, localName, value);
-      else if (ref instanceof DelegatingServiceRefMetaData)
-         setValue((DelegatingServiceRefMetaData)ref, navigator, namespaceURI, localName, value);
-      else if (ref instanceof DelegatingCallPropertyMetaData)
-         setValue((DelegatingCallPropertyMetaData)ref, navigator, namespaceURI, localName, value);
-      else if (ref instanceof DelegatingStubPropertyMetaData)
-         setValue((DelegatingStubPropertyMetaData)ref, navigator, namespaceURI, localName, value);
-   }
-
-   private void setValue(DelegatingServiceRefMetaData ref, UnmarshallingContext navigator, String namespaceURI, String localName, String value)
-   {
-      /* Standard properties */
-      if (localName.equals("service-ref-name"))
-      {
-         ref.setServiceRefName(value);
-      }
-      else if (localName.equals("service-interface"))
-      {
-         ref.setServiceInterface(value);
-      }
-      else if (localName.equals("service-ref-type"))
-      {
-         ref.setServiceRefType(value);
-      }
-      else if (localName.equals("wsdl-file"))
-      {
-         ref.setWsdlFile(value);
-      }
-      else if (localName.equals("jaxrpc-mapping-file"))
-      {
-         ref.setMappingFile(value);
-      }
-      else if (localName.equals("service-qname"))
-      {
-         ref.setServiceQName(getQNameValue(navigator, value));
-      }
-
-      /* JBoss properties */
-      else if (localName.equals("service-impl-class"))
-      {
-         ref.setServiceImplClass(value);
-      }
-      else if (localName.equals("config-name"))
-      {
-         ref.setConfigName(value);
-      }
-      else if (localName.equals("config-file"))
-      {
-         ref.setConfigFile(value);
-      }
-      else if (localName.equals("wsdl-override"))
-      {
-         ref.setWsdlOverride(value);
-      }
-      else if (localName.equals("handler-chain"))
-      {
-         ref.setHandlerChain(value);
-      }
-   }
-
-   private Object newChild(DelegatingServiceRefMetaData ref, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs)
-   {
-      Object child = null;
-      if (localName.equals("port-component-ref"))
-      {
-         child = new DelegatingPortComponentRefMetaData(ref);
-         ref.addPortComponentRef((DelegatingPortComponentRefMetaData)child);
-      }
-      else if (localName.equals("handler"))
-      {
-         child = new DelegatingHandlerMetaData();
-         ref.addHandler((DelegatingHandlerMetaData)child);
-      }
-      else if (localName.equals("handler-chains"))
-      {
-         child = new DelegatingHandlerChainsMetaData();
-         ref.setHandlerChains((DelegatingHandlerChainsMetaData)child);
-      }
-      else if (localName.equals("call-property"))
-      {
-         child = new DelegatingCallPropertyMetaData();
-         ref.addCallProperty((DelegatingCallPropertyMetaData)child);
-      }
-      return child;
-   }
-
-   private Object newChild(DelegatingHandlerChainsMetaData ref, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs)
-   {
-      Object child = null;
-      if (localName.equals("handler-chain"))
-      {
-         child = new DelegatingHandlerChainMetaData();
-         ref.addHandlerChain((DelegatingHandlerChainMetaData)child);
-      }
-      return child;
-   }
-
-   private void setValue(DelegatingPortComponentRefMetaData pcref, UnmarshallingContext navigator, String namespaceURI, String localName, String value)
-   {
-      if (localName.equals("service-endpoint-interface"))
-      {
-         pcref.setServiceEndpointInterface(value);
-      }
-      else if (localName.equals("enable-mtom"))
-      {
-         pcref.setEnableMTOM(Boolean.valueOf(value));
-      }
-      else if (localName.equals("port-component-link"))
-      {
-         pcref.setPortComponentLink(value);
-      }
-      else if (localName.equals("port-qname"))
-      {
-         pcref.setPortQName(getQNameValue(navigator, value));
-      }
-      else if (localName.equals("config-name"))
-      {
-         pcref.setConfigName(value);
-      }
-      else if (localName.equals("config-file"))
-      {
-         pcref.setConfigFile(value);
-      }
-   }
-
-   private Object newChild(DelegatingPortComponentRefMetaData ref, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs)
-   {
-      Object child = null;
-      if (localName.equals("call-property"))
-      {
-         child = new DelegatingCallPropertyMetaData();
-         ref.addCallProperty((DelegatingCallPropertyMetaData)child);
-      }
-      if (localName.equals("stub-property"))
-      {
-         child = new DelegatingStubPropertyMetaData();
-         ref.addStubProperty((DelegatingStubPropertyMetaData)child);
-      }
-      return child;
-   }
-
-   private void setValue(DelegatingHandlerChainMetaData ref, UnmarshallingContext navigator, String namespaceURI, String localName, String value)
-   {
-      if (localName.equals("service-name-pattern"))
-      {
-         ref.setServiceNamePattern(getQNameValue(navigator, value));
-      }
-      else if (localName.equals("port-name-pattern"))
-      {
-         ref.setPortNamePattern(getQNameValue(navigator, value));
-      }
-      else if (localName.equals("protocol-binding"))
-      {
-         ref.setProtocolBindings(value);
-      }
-   }
-
-   private void setValue(DelegatingHandlerMetaData ref, UnmarshallingContext navigator, String namespaceURI, String localName, String value)
-   {
-      if (localName.equals("handler-name"))
-      {
-         ref.setHandlerName(value);
-      }
-      else if (localName.equals("handler-class"))
-      {
-         ref.setHandlerClass(value);
-      }
-      else if (localName.equals("soap-header"))
-      {
-         ref.addSoapHeader(getQNameValue(navigator, value));
-      }
-      else if (localName.equals("soap-role"))
-      {
-         ref.addSoapRole(value);
-      }
-      else if (localName.equals("port-name"))
-      {
-         ref.addPortName(value);
-      }
-   }
-
-   private Object newChild(DelegatingHandlerMetaData ref, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs)
-   {
-      Object child = null;
-      if (localName.equals("init-param"))
-      {
-         child = new DelegatingInitParamMetaData();
-         ref.addInitParam((DelegatingInitParamMetaData)child);
-      }
-      return child;
-   }
-
-   private void setValue(DelegatingInitParamMetaData ref, UnmarshallingContext navigator, String namespaceURI, String localName, String value)
-   {
-      if (localName.equals("param-name"))
-      {
-         ref.setParamName(value);
-      }
-      else if (localName.equals("param-value"))
-      {
-         ref.setParamValue(value);
-      }
-   }
-
-   private void setValue(DelegatingCallPropertyMetaData ref, UnmarshallingContext navigator, String namespaceURI, String localName, String value)
-   {
-      if (localName.equals("prop-name"))
-      {
-         ref.setPropName(value);
-      }
-      else if (localName.equals("prop-value"))
-      {
-         ref.setPropValue(value);
-      }
-   }
-
-   private void setValue(DelegatingStubPropertyMetaData ref, UnmarshallingContext navigator, String namespaceURI, String localName, String value)
-   {
-      if (localName.equals("prop-name"))
-      {
-         ref.setPropName(value);
-      }
-      else if (localName.equals("prop-value"))
-      {
-         ref.setPropValue(value);
-      }
-   }
-
-   private QName getQNameValue(UnmarshallingContext navigator, String value)
-   {
-      QName qname = (value.startsWith("{") ? QName.valueOf(value) : navigator.resolveQName(value));
-      return qname;
-   }
-}




More information about the jboss-cvs-commits mailing list