electric.soap.handlers
Class SOAPHandlerFactories

java.lang.Object
  extended byelectric.soap.handlers.SOAPHandlerFactories

public class SOAPHandlerFactories
extends java.lang.Object

SOAPHandlerFactories. Cache the <soapHandlerFactory> information from config.xml, and then build new SOAPHandler chains based on that information. This class is what "knows" that a service's soap handler chain is cached in the service's context.

Author:
webMethods

Constructor Summary
SOAPHandlerFactories()
           
 
Method Summary
static void addFactory(java.lang.String name, ISOAPHandlerFactory factory)
           
static void addFactory(java.lang.String name, ISOAPHandlerFactory factory, float priority)
           
static ISOAPHandlerFactory getFactory(java.lang.String name)
           
static ISOAPHandler getSOAPHandlerChain(IService service)
          Retrieve the handler chain cached in the service context, or create a new one and cache it if it doesn't already exist.
static ISOAPHandler newSOAPHandlerChain(IService service)
          Create a chain of SOAPHandlers based on the service, the service context, and the current set of handler factories (probably set up in config.xml)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPHandlerFactories

public SOAPHandlerFactories()
Method Detail

addFactory

public static void addFactory(java.lang.String name,
                              ISOAPHandlerFactory factory)
Parameters:
name -
factory -

addFactory

public static void addFactory(java.lang.String name,
                              ISOAPHandlerFactory factory,
                              float priority)
Parameters:
name -
factory -
priority -

getFactory

public static ISOAPHandlerFactory getFactory(java.lang.String name)
Parameters:
name -

getSOAPHandlerChain

public static ISOAPHandler getSOAPHandlerChain(IService service)
Retrieve the handler chain cached in the service context, or create a new one and cache it if it doesn't already exist.

Parameters:
service -

newSOAPHandlerChain

public static ISOAPHandler newSOAPHandlerChain(IService service)
Create a chain of SOAPHandlers based on the service, the service context, and the current set of handler factories (probably set up in config.xml)

Parameters:
service -


copyright© 2001-2004 by webMethods All Rights Reserved.