org.apache.wsif.providers.jms
Class WSIFPort_Jms

java.lang.Object
  |
  +--org.apache.wsif.base.WSIFDefaultPort
        |
        +--org.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
 
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).
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.
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

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.
Overrides:
supportsSync in class WSIFDefaultPort
Following copied from class: org.apache.wsif.base.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.
Overrides:
supportsAsync in class WSIFDefaultPort
Following copied from class: org.apache.wsif.base.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

setObjectReference

public void setObjectReference(JMSAddress newObjectReference)

getFormatter

public WSIFFormatter getFormatter()

getJmsDestination

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

close

public void close()
           throws WSIFException
Closes the port. All methods are invalid after calling this method.
Overrides:
close in class WSIFDefaultPort
Following copied from interface: org.apache.wsif.WSIFPort
Throws:
WSIFException - if something goes wrong

deep

public java.lang.String deep()
helper


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