org.apache.wsif.providers.jms
Class WSIFPort_Jms

java.lang.Object
  extended byorg.apache.wsif.base.WSIFDefaultPort
      extended byorg.apache.wsif.providers.jms.WSIFPort_Jms
All Implemented Interfaces:
java.io.Serializable, WSIFPort

public class WSIFPort_Jms
extends WSIFDefaultPort
implements java.io.Serializable

Jms WSIF port

Author:
Hermann Akermann, Ant Elder, Norman Seto
See Also:
Serialized Form

Constructor Summary
WSIFPort_Jms(javax.wsdl.Definition def, javax.wsdl.Port port, WSIFDynamicTypeMap typeMap)
          ctor
 
Method Summary
 void close()
          Closes the port.
 WSIFOperation createOperation(java.lang.String operationName)
          Create a new WSIFOperation.
 WSIFOperation createOperation(java.lang.String operationName, java.lang.String inputName, java.lang.String outputName)
          Create a new WSIFOperation.
 java.lang.String deep()
          helper
 javax.wsdl.Definition getDefinition()
          accessor/mutators
 WSIFOperation_Jms getDynamicWSIFOperation(java.lang.String name, java.lang.String inputName, java.lang.String outputName)
          get/set WSIF operation
 WSIFFormatter getFormatter()
           
 WSIFJMSDestination getJmsDestination()
          Returns the jmsDestination for this WSIFPort.
 JMSAddress getObjectReference()
           
 javax.wsdl.Port getPortModel()
           
 void setDefinition(javax.wsdl.Definition value)
           
 void setDynamicWSIFOperation(java.lang.String name, java.lang.String inputName, java.lang.String outputName, WSIFOperation_Jms value)
           
 void setObjectReference(JMSAddress newObjectReference)
           
 void setPortModel(javax.wsdl.Port value)
           
 boolean supportsAsync()
          Tests if this port supports asynchronous calls to operations.
 boolean supportsSync()
          Tests if this port supports asynchronous/synchronous calls to operations.
 
Methods inherited from class org.apache.wsif.base.WSIFDefaultPort
finalize, getContext, setContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSIFPort_Jms

public WSIFPort_Jms(javax.wsdl.Definition def,
                    javax.wsdl.Port port,
                    WSIFDynamicTypeMap typeMap)
             throws WSIFException
ctor

Method Detail

createOperation

public WSIFOperation createOperation(java.lang.String operationName)
                              throws WSIFException
Description copied from interface: WSIFPort
Create a new WSIFOperation. There must be exactly one operation in this port's portType with this name. For overloaded operations see WSIFPort.createOperation(String,String,String).

Specified by:
createOperation in interface WSIFPort
Parameters:
operationName - the name of an operation in this port's portType
Returns:
the new WSIFOperation
Throws:
WSIFException - if something goes wrong
See Also:
WSIFPort#createOperation(String)

createOperation

public WSIFOperation createOperation(java.lang.String operationName,
                                     java.lang.String inputName,
                                     java.lang.String outputName)
                              throws WSIFException
Description copied from interface: WSIFPort
Create a new WSIFOperation. There must be an operation in this port's portType with this operation name, input message name and output message name. The input message name distinguishes overloaded operations.

Specified by:
createOperation in interface WSIFPort
Parameters:
operationName - the name of an operation in this port's portType
inputName - the input message name
outputName - the output message name
Returns:
the new WSIFOperation
Throws:
WSIFException - if something goes wrong
See Also:
WSIFPort#createOperation(String, String, String)

getDynamicWSIFOperation

public WSIFOperation_Jms getDynamicWSIFOperation(java.lang.String name,
                                                 java.lang.String inputName,
                                                 java.lang.String outputName)
                                          throws WSIFException
get/set WSIF operation

Throws:
WSIFException

setDynamicWSIFOperation

public void setDynamicWSIFOperation(java.lang.String name,
                                    java.lang.String inputName,
                                    java.lang.String outputName,
                                    WSIFOperation_Jms value)

supportsSync

public boolean supportsSync()
Tests if this port supports asynchronous/synchronous calls to operations.

Specified by:
supportsSync in interface WSIFPort
Overrides:
supportsSync in class WSIFDefaultPort
Returns:
true by default WSIFPorts do support synchronous calls

supportsAsync

public boolean supportsAsync()
Description copied from class: WSIFDefaultPort
Tests if this port supports asynchronous calls to operations.

Specified by:
supportsAsync in interface WSIFPort
Overrides:
supportsAsync in class WSIFDefaultPort
Returns:
false by default ports do not support asynchronous calls

getDefinition

public javax.wsdl.Definition getDefinition()
accessor/mutators


setDefinition

public void setDefinition(javax.wsdl.Definition value)

getPortModel

public javax.wsdl.Port getPortModel()

setPortModel

public void setPortModel(javax.wsdl.Port value)

getObjectReference

public JMSAddress getObjectReference()
                              throws WSIFException
Throws:
WSIFException

setObjectReference

public void setObjectReference(JMSAddress newObjectReference)

getFormatter

public WSIFFormatter getFormatter()

getJmsDestination

public WSIFJMSDestination getJmsDestination()
                                     throws WSIFException
Returns the jmsDestination for this WSIFPort.

Returns:
WSIFJMSDestination
Throws:
WSIFException

close

public void close()
           throws WSIFException
Closes the port. All methods are invalid after calling this method.

Specified by:
close in interface WSIFPort
Overrides:
close in class WSIFDefaultPort
Throws:
WSIFException

deep

public java.lang.String deep()
helper



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