org.apache.wsif.base
Class WSIFDefaultPort

java.lang.Object
  |
  +--org.apache.wsif.base.WSIFDefaultPort
All Implemented Interfaces:
java.io.Serializable, WSIFPort
Direct Known Subclasses:
WSIFPort_ApacheAxis, WSIFPort_ApacheSOAP, WSIFPort_EJB, WSIFPort_Java, WSIFPort_JCA, WSIFPort_Jms, WSIFPort_SoapRMI

public abstract class WSIFDefaultPort
extends java.lang.Object
implements WSIFPort

A DefaultWSIFPort is a default implementation of WSIFPort all methods are implemented except execute*.

Author:
Paul Fremantle, Alekander Slominski, Matthew J. Duftler, Sanjiva Weerawarana, Nirmal Mukhi
See Also:
Serialized Form

Constructor Summary
WSIFDefaultPort()
           
 
Method Summary
 void close()
          Close this port; indicates that the user is done using it.
 void finalize()
           
 boolean supportsAsync()
          Tests if this port supports asynchronous calls to operations.
 boolean supportsSync()
          Tests if this port supports synchronous calls to operations.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.wsif.WSIFPort
createOperation, createOperation
 

Constructor Detail

WSIFDefaultPort

public WSIFDefaultPort()
Method Detail

close

public void close()
           throws WSIFException
Description copied from interface: WSIFPort
Close this port; indicates that the user is done using it. This is only essential for WSIFPorts that are being used in a stateful or resource-shared manner. Responsible stubs will call this if feasible at the right time.
Specified by:
close in interface WSIFPort
Following copied from interface: org.apache.wsif.WSIFPort
Throws:
WSIFException - if something goes wrong

finalize

public void finalize()
              throws java.lang.Throwable

supportsSync

public boolean supportsSync()
Tests if this port supports synchronous calls to operations.
Specified by:
supportsSync in interface WSIFPort
Returns:
true by default WSIFPorts do support synchronous calls

supportsAsync

public boolean supportsAsync()
Tests if this port supports asynchronous calls to operations.
Specified by:
supportsAsync in interface WSIFPort
Returns:
false by default ports do not support asynchronous calls


Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.