org.apache.ws.resource.handler
Class DefaultMethodMap

java.lang.Object
  extended byorg.apache.ws.resource.handler.AbstractSoapMethodNameMap
      extended byorg.apache.ws.resource.handler.DefaultMethodMap
All Implemented Interfaces:
SoapMethodNameMap

public class DefaultMethodMap
extends AbstractSoapMethodNameMap

Maps message-part element QNames from spec WSDLs to Java method names.

Author:
Sal Campana, Ian P. Springer

Constructor Summary
DefaultMethodMap(SoapMethodNameMap parent)
          Creates a new DefaultMethodMap object.
 
Method Summary
 java.lang.String getDefaultMethodName(javax.xml.namespace.QName request)
          DOCUMENT_ME
 SoapMethodNameMap getParent()
          DOCUMENT_ME
 java.lang.String lookupMethodNameFromAction(java.lang.String action)
          Returns a Default name for a method based on a request's WS-Addressing Action Header.
 
Methods inherited from class org.apache.ws.resource.handler.AbstractSoapMethodNameMap
getMethodName, getMethodNameFromAction, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMethodMap

public DefaultMethodMap(SoapMethodNameMap parent)
Creates a new DefaultMethodMap object.

Parameters:
parent - DOCUMENT_ME
Method Detail

getDefaultMethodName

public java.lang.String getDefaultMethodName(javax.xml.namespace.QName request)
DOCUMENT_ME

Specified by:
getDefaultMethodName in class AbstractSoapMethodNameMap
Parameters:
request - DOCUMENT_ME
Returns:
DOCUMENT_ME

getParent

public SoapMethodNameMap getParent()
DOCUMENT_ME

Specified by:
getParent in interface SoapMethodNameMap
Overrides:
getParent in class AbstractSoapMethodNameMap
Returns:
DOCUMENT_ME

lookupMethodNameFromAction

public java.lang.String lookupMethodNameFromAction(java.lang.String action)
Returns a Default name for a method based on a request's WS-Addressing Action Header.

Overrides:
lookupMethodNameFromAction in class AbstractSoapMethodNameMap
Parameters:
action - String representation of WS-Addressing Action Header Value
Returns:
The name of the operation OR null if there is no Action registered.


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.