org.apache.ws.resource.handler
Class AbstractSoapMethodNameMap

java.lang.Object
  extended byorg.apache.ws.resource.handler.AbstractSoapMethodNameMap
All Implemented Interfaces:
SoapMethodNameMap
Direct Known Subclasses:
DefaultMethodMap, ServiceSoapMethodNameMap, WsddSoapMethodNameMap

public abstract class AbstractSoapMethodNameMap
extends java.lang.Object
implements SoapMethodNameMap

LOG-DONE Abstract class to provide default underlying behaviour for the SOAPMethodNameMap.

Author:
Sal Campana

Field Summary
(package private)  SoapMethodNameMap m_parent
          The Parent SoapMethodNameMap.
 
Constructor Summary
AbstractSoapMethodNameMap()
           
 
Method Summary
abstract  java.lang.String getDefaultMethodName(javax.xml.namespace.QName request)
          Returns a Default name for a method based on a request's QName.
 java.lang.String getMethodName(javax.xml.namespace.QName requestName)
          Returns the method name for a given incoming request QName.
 SoapMethodNameMap getParent()
          Returns the parent SoapMethodNameMap
 void setParent(SoapMethodNameMap parent)
          Sets the parent SoapMethodNameMap to be searched.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_parent

SoapMethodNameMap m_parent
The Parent SoapMethodNameMap.

Constructor Detail

AbstractSoapMethodNameMap

public AbstractSoapMethodNameMap()
Method Detail

getDefaultMethodName

public abstract java.lang.String getDefaultMethodName(javax.xml.namespace.QName request)
Returns a Default name for a method based on a request's QName.

Parameters:
request - QName of the incoming request.
Returns:
A defualt name for the method.

getMethodName

public java.lang.String getMethodName(javax.xml.namespace.QName requestName)
Returns the method name for a given incoming request QName.

Specified by:
getMethodName in interface SoapMethodNameMap
Parameters:
requestName -
Returns:
Method name to invoke.

setParent

public void setParent(SoapMethodNameMap parent)
Sets the parent SoapMethodNameMap to be searched.

Specified by:
setParent in interface SoapMethodNameMap
Parameters:
parent -

getParent

public SoapMethodNameMap getParent()
Returns the parent SoapMethodNameMap

Specified by:
getParent in interface SoapMethodNameMap
Returns:
parent SoapMethodNameMap


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