org.apache.cxf.jaxws.handler
Class HandlerChainBuilder
java.lang.Object
org.apache.cxf.jaxws.handler.HandlerChainBuilder
- Direct Known Subclasses:
- AnnotationHandlerChainBuilder
public class HandlerChainBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandlerChainBuilder
public HandlerChainBuilder(Bus aBus)
HandlerChainBuilder
public HandlerChainBuilder()
buildHandlerChainFromConfiguration
public List<javax.xml.ws.handler.Handler> buildHandlerChainFromConfiguration(PortComponentHandlerType hc)
buildHandlerChainFromConfiguration
public List<javax.xml.ws.handler.Handler> buildHandlerChainFromConfiguration(List<PortComponentHandlerType> hc)
setHandlerInitEnabled
public void setHandlerInitEnabled(boolean b)
isHandlerInitEnabled
public boolean isHandlerInitEnabled()
sortHandlers
public List<javax.xml.ws.handler.Handler> sortHandlers(List<javax.xml.ws.handler.Handler> handlers)
- sorts the handlers into correct order. All of the logical handlers first
followed by the protocol handlers
- Parameters:
handlers
-
- Returns:
- sorted list of handlers
getHandlerClassLoader
protected ClassLoader getHandlerClassLoader()
buildHandlerChain
protected List<javax.xml.ws.handler.Handler> buildHandlerChain(PortComponentHandlerType ht,
ClassLoader classLoader)
resolveHandlerChainFile
protected URL resolveHandlerChainFile(Class clz,
String filename)
- Resolve handler chain configuration file associated with the given class
- Parameters:
clz
- filename
-
- Returns:
- A URL object or null if no resource with this name is found
Apache CXF