[jboss-svn-commits] JBossWS SVN: r770 - branches/jbossws-1.0/src/main/java/org/jboss/ws/soap

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Aug 18 08:58:02 EDT 2006


Author: heiko.braun at jboss.com
Date: 2006-08-18 08:58:00 -0400 (Fri, 18 Aug 2006)
New Revision: 770

Added:
   branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJEnvelopeBuilderFactory.java
Log:
Separate interface and implementation

Added: branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJEnvelopeBuilderFactory.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJEnvelopeBuilderFactory.java	2006-08-18 12:29:05 UTC (rev 769)
+++ branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJEnvelopeBuilderFactory.java	2006-08-18 12:58:00 UTC (rev 770)
@@ -0,0 +1,39 @@
+/*
+* 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.ws.soap;
+
+/**
+ * @author Heiko Braun <heiko.braun at jboss.com>
+ * @version $Id$
+ * @since Aug 18, 2006
+ */
+public class SAAJEnvelopeBuilderFactory {
+
+   public static SAAJEnvelopeBuilderFactory newInstance() {
+      return new SAAJEnvelopeBuilderFactory();
+   }
+
+   public SAAJEnvelopeBuilder createSAAJEnvelopeBuilder()
+   {
+      return new DOMEnvelopeBuilder();
+   }
+}


Property changes on: branches/jbossws-1.0/src/main/java/org/jboss/ws/soap/SAAJEnvelopeBuilderFactory.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jboss-svn-commits mailing list