KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > dd > api > common > PortInfo


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19 /*
20  * PortInfo.java
21  *
22  * Created on November 18, 2004, 9:46 AM
23  */

24
25 package org.netbeans.modules.j2ee.sun.dd.api.common;
26
27 import org.netbeans.modules.j2ee.sun.dd.api.VersionNotSupportedException;
28
29 /**
30  *
31  * @author Nitya Doraisamy
32  */

33 public interface PortInfo extends org.netbeans.modules.j2ee.sun.dd.api.CommonDDBean {
34
35     public static final String JavaDoc VERSION_SERVER_8_0 = "Server 8.0";
36
37     public static final String JavaDoc SERVICE_ENDPOINT_INTERFACE = "ServiceEndpointInterface"; // NOI18N
38
public static final String JavaDoc WSDL_PORT = "WsdlPort"; // NOI18N
39
public static final String JavaDoc STUB_PROPERTY = "StubProperty"; // NOI18N
40
public static final String JavaDoc CALL_PROPERTY = "CallProperty"; // NOI18N
41
public static final String JavaDoc MESSAGE_SECURITY_BINDING = "MessageSecurityBinding"; // NOI18N
42

43         
44     /** Setter for service-endpoint-interface property
45      * @param value property value
46      */

47     public void setServiceEndpointInterface(java.lang.String JavaDoc value);
48     /** Getter for service-endpoint-interface property.
49      * @return property value
50      */

51     public java.lang.String JavaDoc getServiceEndpointInterface();
52     /** Setter for wsdl-port property
53      * @param value property value
54      */

55     public void setWsdlPort(WsdlPort value);
56     /** Getter for wsdl-port property.
57      * @return property value
58      */

59     public WsdlPort getWsdlPort();
60     public WsdlPort newWsdlPort();
61     
62     public StubProperty[] getStubProperty();
63     public StubProperty getStubProperty(int index);
64     public void setStubProperty(StubProperty[] value);
65     public void setStubProperty(int index, StubProperty value);
66     public int addStubProperty(StubProperty value);
67     public int removeStubProperty(StubProperty value);
68     public int sizeStubProperty();
69     public StubProperty newStubProperty();
70     
71     public CallProperty[] getCallProperty();
72     public CallProperty getCallProperty(int index);
73     public void setCallProperty(CallProperty[] value);
74     public void setCallProperty(int index, CallProperty value);
75     public int addCallProperty(CallProperty value);
76     public int removeCallProperty(CallProperty value);
77     public int sizeCallProperty();
78     public CallProperty newCallProperty();
79     
80     //For AppServer 8.1 & 9.0
81
/** Setter for message-security-binding property
82      * @param value property value
83      */

84     public void setMessageSecurityBinding(MessageSecurityBinding value) throws VersionNotSupportedException;
85     /** Getter for message-security-binding property.
86      * @return property value
87      */

88     public MessageSecurityBinding getMessageSecurityBinding() throws VersionNotSupportedException;
89     
90     public MessageSecurityBinding newMessageSecurityBinding() throws VersionNotSupportedException;
91 }
92
Popular Tags