org.ow2.jonas.ws.jaxws.handler.builder
Class DescriptorHandlerChainBuilder

java.lang.Object
  extended by org.ow2.jonas.ws.jaxws.handler.builder.HandlerChainBuilder
      extended by org.ow2.jonas.ws.jaxws.handler.builder.DescriptorHandlerChainBuilder

public class DescriptorHandlerChainBuilder
extends HandlerChainBuilder

The DescriptorHandlerChainBuilder is responsible to build a Handler chain from a pre parsed handler-chains.xml file.

Author:
Guillaume Sauthier

Constructor Summary
DescriptorHandlerChainBuilder(org.ow2.util.ee.metadata.common.api.xml.struct.IHandlerChains handlerChains)
          Constructs a new builder using the given structure.
 
Method Summary
 List<Handler> buildHandlerChain(PortInfo info, ClassLoader loader)
          Build the chain.
 
Methods inherited from class org.ow2.jonas.ws.jaxws.handler.builder.HandlerChainBuilder
buildHandlerChain, sortHandlers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptorHandlerChainBuilder

public DescriptorHandlerChainBuilder(org.ow2.util.ee.metadata.common.api.xml.struct.IHandlerChains handlerChains)
Constructs a new builder using the given structure.

Parameters:
handlerChains - structure representing the handler chain
Method Detail

buildHandlerChain

public List<Handler> buildHandlerChain(PortInfo info,
                                       ClassLoader loader)
Build the chain.

Specified by:
buildHandlerChain in class HandlerChainBuilder
Parameters:
info - identify the target port for the builded chain
loader - classloader used for Handler class loading
Returns:
a new Handler's List


Copyright © 2010 OW2 Consortium. All Rights Reserved.