src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/DatabindingFactory.java

Print this page


   1 /*
   2  * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


  39  * <pre>
  40  *       WsFactory wsfac = WsFactory.newInstance();
  41  *       WsTool tool = wsfac.createTool();
  42  *       GenerationStatus status = tool.generateWsdl(javaToWsdkInfo);
  43  * </pre>
  44  * </blockquote>
  45  *
  46  * <blockquote>
  47  * Following is an example that creates a {@code WsRuntime} which provides the
  48  * operations to serialize/deserialize a JavaCallInfo to/from a SOAP message:<br />
  49  * <pre>
  50  *       WsFactory wsfac = WsFactory.newInstance();
  51  *       WsRuntime rt = wsfac.createRuntime(wsRuntimeConfig);
  52  * </pre>
  53  * </blockquote>
  54  *
  55  * @see com.sun.xml.internal.ws.api.databinding.Databinding
  56  *
  57  * @author shih-chang.chen@oracle.com
  58  */
  59 public abstract class DatabindingFactory extends com.sun.xml.internal.org.jvnet.ws.databinding.DatabindingFactory {
  60 
  61   /**
  62    * Creates a new instance of a <code>WsTool</code>.
  63    *
  64    * @return New instance of a <code>WsTool</code>
  65    */
  66 //      abstract public WsTool createTool();
  67 
  68   /**
  69    * Creates a new instance of a <code>WsRuntime</code> which is initialized
  70    * with the specified configuration object.
  71    *
  72    * @param config
  73    *          the EndpointRuntimeConfig to init this WsRuntime
  74    * @return New instance of a <code>WsRuntime</code>
  75    */
  76   abstract public com.sun.xml.internal.org.jvnet.ws.databinding.Databinding createRuntime(DatabindingConfig config);
  77 
  78   /**
  79    * Creates a new instance of a <code>XsTool</code>.
  80    *
  81    * @return New instance of a <code>XsTool</code>
  82    */
  83 //      abstract public XsTool createXsTool(String mode);
  84 
  85   /**
  86    * Creates a new instance of a <code>XsRuntime</code>.
  87    *
  88    * @return New instance of a <code>XsRuntime</code>
  89    */
  90 //      abstract public XsRuntime createXsRuntime(String mode);
  91 
  92   /**
  93    * Access properties on the <code>WsFactory</code> instance.
  94    *
  95    * @return properties of this WsFactory
  96    */


   1 /*
   2  * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


  39  * <pre>
  40  *       WsFactory wsfac = WsFactory.newInstance();
  41  *       WsTool tool = wsfac.createTool();
  42  *       GenerationStatus status = tool.generateWsdl(javaToWsdkInfo);
  43  * </pre>
  44  * </blockquote>
  45  *
  46  * <blockquote>
  47  * Following is an example that creates a {@code WsRuntime} which provides the
  48  * operations to serialize/deserialize a JavaCallInfo to/from a SOAP message:<br />
  49  * <pre>
  50  *       WsFactory wsfac = WsFactory.newInstance();
  51  *       WsRuntime rt = wsfac.createRuntime(wsRuntimeConfig);
  52  * </pre>
  53  * </blockquote>
  54  *
  55  * @see com.sun.xml.internal.ws.api.databinding.Databinding
  56  *
  57  * @author shih-chang.chen@oracle.com
  58  */
  59 public abstract class DatabindingFactory extends com.oracle.webservices.internal.api.databinding.DatabindingFactory {
  60 
  61   /**
  62    * Creates a new instance of a <code>WsTool</code>.
  63    *
  64    * @return New instance of a <code>WsTool</code>
  65    */
  66 //      abstract public WsTool createTool();
  67 
  68   /**
  69    * Creates a new instance of a <code>WsRuntime</code> which is initialized
  70    * with the specified configuration object.
  71    *
  72    * @param config
  73    *          the EndpointRuntimeConfig to init this WsRuntime
  74    * @return New instance of a <code>WsRuntime</code>
  75    */
  76   abstract public com.oracle.webservices.internal.api.databinding.Databinding createRuntime(DatabindingConfig config);
  77 
  78   /**
  79    * Creates a new instance of a <code>XsTool</code>.
  80    *
  81    * @return New instance of a <code>XsTool</code>
  82    */
  83 //      abstract public XsTool createXsTool(String mode);
  84 
  85   /**
  86    * Creates a new instance of a <code>XsRuntime</code>.
  87    *
  88    * @return New instance of a <code>XsRuntime</code>
  89    */
  90 //      abstract public XsRuntime createXsRuntime(String mode);
  91 
  92   /**
  93    * Access properties on the <code>WsFactory</code> instance.
  94    *
  95    * @return properties of this WsFactory
  96    */