KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > webservice > client > Stub


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 // $Id: Stub.java,v 1.1.2.4 2005/06/15 08:08:18 tdiesler Exp $
9
package org.jboss.webservice.client;
10
11 import java.util.Iterator JavaDoc;
12
13 // $Id: Stub.java,v 1.1.2.4 2005/06/15 08:08:18 tdiesler Exp $
14

15
16 /**
17  * JBossWS client stubs implement this interface.
18  *
19  * It provides access to the standard properties via convenience methods
20  * and adds some propriatary properties as well.
21  *
22  * for an implementation of the interface see {@link org.jboss.webservice.client.PortProxy}
23  *
24  * @author Thomas.Diesler@jboss.org
25  * @since 09-Nov-2004
26  */

27 public interface Stub extends javax.xml.rpc.Stub JavaDoc
28 {
29    /** Client timeout property */
30    static final String JavaDoc CLIENT_TIMEOUT_PROPERTY = "org.jboss.webservice.client.timeout";
31
32    String JavaDoc getUsername();
33
34    void setUsername(String JavaDoc username);
35
36    String JavaDoc getPassword();
37
38    void setPassword(String JavaDoc password);
39
40    String JavaDoc getEndpointAddress();
41
42    void setEndpointAddress(String JavaDoc endpoint);
43
44    Boolean JavaDoc getSessionMaintain();
45
46    void setSessionMaintain(Boolean JavaDoc maintainSession);
47
48    Integer JavaDoc getTimeout();
49
50    void setTimeout(Integer JavaDoc timeout);
51
52    void addAttachment(String JavaDoc contentID, Object JavaDoc mimepart);
53
54    void removeAttachment(String JavaDoc contentID);
55
56    Iterator JavaDoc getAttachmentIdentifiers();
57
58    Object JavaDoc getAttachment(String JavaDoc contentID);
59
60    Object JavaDoc getTransportOption(String JavaDoc option);
61
62    void setTransportOption(String JavaDoc option, Object JavaDoc value);
63 }
Popular Tags