jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/databinding/Databinding.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
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. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
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 |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
28 import java.io.IOException; |
28 import java.io.IOException; |
29 import java.io.InputStream; |
29 import java.io.InputStream; |
30 import java.io.OutputStream; |
30 import java.io.OutputStream; |
31 import java.lang.reflect.Method; |
31 import java.lang.reflect.Method; |
32 |
32 |
33 import javax.xml.ws.WebServiceFeature; |
33 import com.sun.xml.internal.ws.api.message.MessageContextFactory; |
34 import com.sun.xml.internal.ws.api.message.Packet; |
34 import com.sun.xml.internal.ws.api.message.Packet; |
35 import com.sun.xml.internal.ws.api.pipe.ContentType; |
35 import com.sun.xml.internal.ws.api.pipe.ContentType; |
36 import com.sun.xml.internal.ws.wsdl.DispatchException; |
36 import com.sun.xml.internal.ws.wsdl.DispatchException; |
37 |
37 |
38 /** |
38 /** |
59 * |
59 * |
60 * </blockquote> |
60 * </blockquote> |
61 * |
61 * |
62 * @author shih-chang.chen@oracle.com |
62 * @author shih-chang.chen@oracle.com |
63 */ |
63 */ |
64 public interface Databinding extends com.sun.xml.internal.org.jvnet.ws.databinding.Databinding { |
64 public interface Databinding extends com.oracle.webservices.internal.api.databinding.Databinding { |
65 |
65 |
66 /** |
66 /** |
67 * Gets the MessageFactory instance associated with this WsRuntime |
67 * Gets the MessageFactory instance associated with this WsRuntime |
68 * |
68 * |
69 * @return the MessageFactory instance associated with this WsRuntime |
69 * @return the MessageFactory instance associated with this WsRuntime |
139 */ |
139 */ |
140 // WebServiceFeature[] getFeatures(); |
140 // WebServiceFeature[] getFeatures(); |
141 |
141 |
142 void generateWSDL(WSDLGenInfo info); |
142 void generateWSDL(WSDLGenInfo info); |
143 |
143 |
|
144 /** |
|
145 * @deprecated use MessageContextFactory |
|
146 */ |
144 public ContentType encode( Packet packet, OutputStream out ) throws IOException ; |
147 public ContentType encode( Packet packet, OutputStream out ) throws IOException ; |
145 |
148 |
|
149 /** |
|
150 * @deprecated use MessageContextFactory |
|
151 */ |
146 public void decode( InputStream in, String ct, Packet packet ) throws IOException; |
152 public void decode( InputStream in, String ct, Packet packet ) throws IOException; |
|
153 |
|
154 public MessageContextFactory getMessageContextFactory(); |
147 } |
155 } |