org.apache.servicemix.components.wsif
Class WSIFOperationMap

java.lang.Object
  extended by org.apache.servicemix.components.wsif.WSIFOperationMap

public class WSIFOperationMap
extends Object

Maintains a Map of the available operations for the binding.

Version:
$Revision: 2153 $

Constructor Summary
WSIFOperationMap(org.apache.wsif.WSIFService service)
           
 
Method Summary
 void addBinding(javax.wsdl.Binding binding)
           
protected  void addBindingOperation(javax.wsdl.Binding binding, javax.wsdl.BindingOperation bindingOperation)
           
 WSIFOperationInfo getOperation(QName operationName)
          Returns the operation information for the given QName
 WSIFOperationInfo getOperation(String operationName)
          Returns the operation for the given name
 int getOperationCount()
           
 WSIFOperationInfo getOperationForExchange(javax.jbi.messaging.MessageExchange exchange)
          Returns the operation information for the current message exchange.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSIFOperationMap

public WSIFOperationMap(org.apache.wsif.WSIFService service)
Method Detail

getOperationForExchange

public WSIFOperationInfo getOperationForExchange(javax.jbi.messaging.MessageExchange exchange)
                                          throws NoSuchOperationException
Returns the operation information for the current message exchange.

Parameters:
exchange - the current message exchange
Returns:
the operation information
Throws:
NoSuchOperationException - if the operation is not available

getOperation

public WSIFOperationInfo getOperation(QName operationName)
Returns the operation information for the given QName

Parameters:
operationName - is the name of the operation
Returns:
the operation information or null if it is not available

getOperationCount

public int getOperationCount()

getOperation

public WSIFOperationInfo getOperation(String operationName)
Returns the operation for the given name

Parameters:
operationName - is the name of the operation
Returns:
the operation instance or null if it is not available

addBinding

public void addBinding(javax.wsdl.Binding binding)
                throws org.apache.wsif.WSIFException
Throws:
org.apache.wsif.WSIFException

addBindingOperation

protected void addBindingOperation(javax.wsdl.Binding binding,
                                   javax.wsdl.BindingOperation bindingOperation)
                            throws org.apache.wsif.WSIFException
Throws:
org.apache.wsif.WSIFException


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.