org.apache.wsif.base
Class WSIFDefaultPort

java.lang.Object
  extended byorg.apache.wsif.base.WSIFDefaultPort
All Implemented Interfaces:
java.io.Serializable, WSIFPort
Direct Known Subclasses:
WSIFPort_ApacheAxis, WSIFPort_ApacheSOAP, WSIFPort_BSF, 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()
           
 WSIFMessage getContext()
          Gets the context information for this WSIFPort.
 void setContext(WSIFMessage newContext)
          Sets the context information for this WSIFPort.
 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
Throws:
WSIFException - if something goes wrong

finalize

public void finalize()
              throws java.lang.Throwable
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

getContext

public WSIFMessage getContext()
                       throws WSIFException
Gets the context information for this WSIFPort.

Specified by:
getContext in interface WSIFPort
Returns:
context
Throws:
WSIFException

setContext

public void setContext(WSIFMessage newContext)
Sets the context information for this WSIFPort.

Specified by:
setContext in interface WSIFPort


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.