org.apache.ws.resource.handler
Class ServiceSoapMethodNameMap

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

public class ServiceSoapMethodNameMap
extends AbstractSoapMethodNameMap

LOG-DONE

Author:
Sal Campana

Constructor Summary
ServiceSoapMethodNameMap(ResourceContext context)
          Creates a new ServiceSoapMethodNameMap object.
 
Method Summary
 void addMapping(javax.xml.namespace.QName soapMsgQname, java.lang.String javaMethodName)
          Adds a mapping for a SOAP Message to Java Method name
 java.lang.String getDefaultMethodName(javax.xml.namespace.QName request)
          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.
 void removeMapping(javax.xml.namespace.QName soapMsgQname)
          DOCUMENT_ME
 
Methods inherited from class org.apache.ws.resource.handler.AbstractSoapMethodNameMap
getMethodName, getMethodNameFromAction, getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceSoapMethodNameMap

public ServiceSoapMethodNameMap(ResourceContext context)
Creates a new ServiceSoapMethodNameMap object.

Parameters:
context - 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

addMapping

public void addMapping(javax.xml.namespace.QName soapMsgQname,
                       java.lang.String javaMethodName)
Adds a mapping for a SOAP Message to Java Method name

Parameters:
soapMsgQname -
javaMethodName -

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.

removeMapping

public void removeMapping(javax.xml.namespace.QName soapMsgQname)
DOCUMENT_ME

Parameters:
soapMsgQname - DOCUMENT_ME


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