org.apache.axis.client
Class Service.HandlerRegistryImpl

java.lang.Object
  |
  +--org.apache.axis.client.Service.HandlerRegistryImpl
All Implemented Interfaces:
HandlerRegistry, java.io.Serializable
Enclosing class:
Service

protected static class Service.HandlerRegistryImpl
extends java.lang.Object
implements HandlerRegistry

See Also:
Serialized Form

Constructor Summary
protected Service.HandlerRegistryImpl()
           
 
Method Summary
 java.util.List getHandlerChain(QName portName)
          Gets the handler chain for the specified service endpoint.
 void setHandlerChain(QName portName, java.util.List chain)
          Sets the handler chain for the specified service endpoint as a java.util.List.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Service.HandlerRegistryImpl

protected Service.HandlerRegistryImpl()
Method Detail

getHandlerChain

public java.util.List getHandlerChain(QName portName)
Description copied from interface: HandlerRegistry
Gets the handler chain for the specified service endpoint. The returned List is used to configure this specific handler chain in this HandlerRegistry. Each element in this list is required to be of the Java type javax.xml.rpc.handler.HandlerInfo.
Specified by:
getHandlerChain in interface HandlerRegistry
Following copied from interface: javax.xml.rpc.handler.HandlerRegistry
Parameters:
portName - Qualified name of the target service
Returns:
HandlerChain java.util.List Handler chain
Throws:
java.lang.IllegalArgumentException - If an invalid portName is specified

setHandlerChain

public void setHandlerChain(QName portName,
                            java.util.List chain)
Description copied from interface: HandlerRegistry
Sets the handler chain for the specified service endpoint as a java.util.List. Each element in this list is required to be of the Java type javax.xml.rpc.handler.HandlerInfo.
Specified by:
setHandlerChain in interface HandlerRegistry
Following copied from interface: javax.xml.rpc.handler.HandlerRegistry
Parameters:
portName - Qualified name of the target service endpoint
chain - A List representing configuration for the handler chain
Throws:
JAXRPCException - If any error in the configuration of the handler chain
java.lang.UnsupportedOperationException - If this set operation is not supported. This is done to avoid any overriding of a pre-configured handler chain.
java.lang.IllegalArgumentException - If an invalid portName is specified


Copyright © 2003 Apache Web Services Project. All Rights Reserved.