com.sun.xml.ws.client
Class HandlerConfiguration

java.lang.Object
  extended by com.sun.xml.ws.client.HandlerConfiguration

public class HandlerConfiguration
extends Object

This class holds the handler information on the BindingProvider. HandlerConfiguration is immutable, and a new object is created when the BindingImpl is created or User calls Binding.setHandlerChain() or SOAPBinding.setRoles() During inovcation in Stub.process(), snapshot of the handler configuration is set in Packet.handlerConfig The information in the HandlerConfiguration is used by MUPipe and HandlerTube implementations.


Constructor Summary
HandlerConfiguration(Set<String> roles, Set<QName> portKnownHeaders, List<javax.xml.ws.handler.Handler> handlerChain, List<javax.xml.ws.handler.LogicalHandler> logicalHandlers, List<javax.xml.ws.handler.soap.SOAPHandler> soapHandlers, List<MessageHandler> messageHandlers, Set<QName> handlerKnownHeaders)
           
 
Method Summary
 List<javax.xml.ws.handler.Handler> getHandlerChain()
           
 Set<QName> getHandlerKnownHeaders()
           
 Set<QName> getKnownHeaders()
           
 List<javax.xml.ws.handler.LogicalHandler> getLogicalHandlers()
           
 List<MessageHandler> getMessageHandlers()
           
 Set<String> getRoles()
           
 List<javax.xml.ws.handler.soap.SOAPHandler> getSoapHandlers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerConfiguration

public HandlerConfiguration(Set<String> roles,
                            Set<QName> portKnownHeaders,
                            List<javax.xml.ws.handler.Handler> handlerChain,
                            List<javax.xml.ws.handler.LogicalHandler> logicalHandlers,
                            List<javax.xml.ws.handler.soap.SOAPHandler> soapHandlers,
                            List<MessageHandler> messageHandlers,
                            Set<QName> handlerKnownHeaders)
Parameters:
roles - This contains the roles assumed by the Binding implementation.
portKnownHeaders - This contains the headers that are bound to the current WSDL Port
handlerChain - This contains the handler chain set on the Binding
logicalHandlers -
soapHandlers -
handlerKnownHeaders - The set is comprised of headers returned from SOAPHandler.getHeaders() method calls.
Method Detail

getRoles

public Set<String> getRoles()

getHandlerChain

public List<javax.xml.ws.handler.Handler> getHandlerChain()
Returns:
return a copy of handler chain

getLogicalHandlers

public List<javax.xml.ws.handler.LogicalHandler> getLogicalHandlers()

getSoapHandlers

public List<javax.xml.ws.handler.soap.SOAPHandler> getSoapHandlers()

getMessageHandlers

public List<MessageHandler> getMessageHandlers()

getKnownHeaders

public Set<QName> getKnownHeaders()

getHandlerKnownHeaders

public Set<QName> getHandlerKnownHeaders()