01: /*
02: * BEGIN_HEADER - DO NOT EDIT
03: *
04: * The contents of this file are subject to the terms
05: * of the Common Development and Distribution License
06: * (the "License"). You may not use this file except
07: * in compliance with the License.
08: *
09: * You can obtain a copy of the license at
10: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
11: * See the License for the specific language governing
12: * permissions and limitations under the License.
13: *
14: * When distributing Covered Code, include this CDDL
15: * HEADER in each file and include the License file at
16: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
17: * If applicable add the following below this CDDL HEADER,
18: * with the fields enclosed by brackets "[]" replaced with
19: * your own identifying information: Portions Copyright
20: * [year] [name of copyright owner]
21: */
22:
23: /*
24: * @(#)BindingOperation.java
25: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
26: *
27: * END_HEADER - DO NOT EDIT
28: */
29: package com.sun.jbi.wsdl2.impl;
30:
31: import javax.xml.namespace.QName;
32: import org.w3.ns.wsdl.BindingOperationType;
33:
34: /**
35: * Abstract implementation of
36: * WSDL 2.0 Binding Operation Component.
37: *
38: * @author Sun Microsystems, Inc.
39: */
40: abstract class BindingOperation extends ExtensibleDocumentedComponent
41: implements com.sun.jbi.wsdl2.BindingOperation {
42: /**
43: * Get the BindingOperationType XML bean behind this BindingOperation component.
44: *
45: * @return The BindingOperationType XML bean behind this component.
46: */
47: protected final BindingOperationType getBean() {
48: return (BindingOperationType) this .mXmlObject;
49: }
50:
51: /**
52: * Construct an abstract Binding operation implementation base component.
53: *
54: * @param bean The XML bean for this Binding Operation component
55: */
56: BindingOperation(BindingOperationType bean) {
57: super (bean);
58: }
59:
60: /**
61: * Get the target namespace of this operation
62: *
63: * @return Target namespace of this operation
64: */
65: public abstract String getTargetNamespace();
66:
67: /**
68: * Create a new message reference for this operation, appending it to
69: * this operation's input list.
70: *
71: * @param messageLabel NC role name in the {message exchange pattern} of
72: * the message for which binding details are provided
73: * @return The newly created input message reference, appended to this
74: * operation.
75: */
76: public abstract com.sun.jbi.wsdl2.BindingMessageReference addNewInput(
77: String messageLabel);
78:
79: /**
80: * Create a new message reference for this operation, appending it this
81: * operation's output list.
82: *
83: * @param messageLabel NC name of the message for which binding details
84: * are provided.
85: * @return The newly created output message reference, appended to this
86: * operation.
87: */
88: public abstract com.sun.jbi.wsdl2.BindingMessageReference addNewOutput(
89: String messageLabel);
90:
91: }
92:
93: // End-of-file: BindingOperation.java
|