org.apache.axis2.jaxws.spi.handler
Class BaseHandlerResolver

java.lang.Object
  extended by org.apache.axis2.jaxws.spi.handler.BaseHandlerResolver
All Implemented Interfaces:
HandlerResolver
Direct Known Subclasses:
HandlerResolverImpl, HandlerResolverImpl

public abstract class BaseHandlerResolver
extends Object
implements HandlerResolver

This class can be subclassed to produce different implementations of HandlerResolver


Field Summary
protected  HandlerChainsType handlerChainsType
           
protected static Map<String,String> protocolBindingsMap
           
 
Constructor Summary
protected BaseHandlerResolver()
           
protected BaseHandlerResolver(String file)
           
 
Method Summary
protected static boolean chainResolvesToPort(HandlerChainType hct, PortInfo portinfo)
           
static boolean doesPatternMatch(QName qName, QName pattern)
          Returns true of the specified qName matches the pattern.
protected static Class loadClass(String clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.ws.handler.HandlerResolver
getHandlerChain
 

Field Detail

protocolBindingsMap

protected static final Map<String,String> protocolBindingsMap

handlerChainsType

protected HandlerChainsType handlerChainsType
Constructor Detail

BaseHandlerResolver

protected BaseHandlerResolver()

BaseHandlerResolver

protected BaseHandlerResolver(String file)
Method Detail

chainResolvesToPort

protected static boolean chainResolvesToPort(HandlerChainType hct,
                                             PortInfo portinfo)

loadClass

protected static Class loadClass(String clazz)
                          throws ClassNotFoundException
Throws:
ClassNotFoundException

doesPatternMatch

public static boolean doesPatternMatch(QName qName,
                                       QName pattern)
Returns true of the specified qName matches the pattern. Some customers may have become dependent on the older algorithm. So first the "official" algorithm is used and if that fails, the older algorithm is used.

Parameters:
qName - QName
pattern - QName
Returns:
true or false


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.