org.apache.cxf.jaxws.handler
Class HandlerChainBuilder
java.lang.Object
org.apache.cxf.jaxws.handler.HandlerChainBuilder
- Direct Known Subclasses:
- AnnotationHandlerChainBuilder
public class HandlerChainBuilder
- extends java.lang.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 java.util.List<javax.xml.ws.handler.Handler> buildHandlerChainFromConfiguration(HandlerChainType hc)
setHandlerInitEnabled
public void setHandlerInitEnabled(boolean b)
isHandlerInitEnabled
public boolean isHandlerInitEnabled()
sortHandlers
public java.util.List<javax.xml.ws.handler.Handler> sortHandlers(java.util.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 java.lang.ClassLoader getHandlerClassLoader()
buildHandlerChain
protected java.util.List<javax.xml.ws.handler.Handler> buildHandlerChain(HandlerChainType hc,
java.lang.ClassLoader classLoader)
resolveHandlerChainFile
protected java.net.URL resolveHandlerChainFile(java.lang.Class clz,
java.lang.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 is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.