org.mule.construct.builder
Class AbstractFlowConstructBuilder<T extends AbstractFlowConstructBuilder<?,?>,F extends AbstractFlowConstruct>

java.lang.Object
  extended by org.mule.construct.builder.AbstractFlowConstructBuilder<T,F>
Direct Known Subclasses:
AbstractFlowConstructWithSingleInboundEndpointBuilder

public abstract class AbstractFlowConstructBuilder<T extends AbstractFlowConstructBuilder<?,?>,F extends AbstractFlowConstruct>
extends Object


Field Summary
protected  MessagingExceptionHandler exceptionListener
           
protected  String initialState
           
protected  MessageSource messageSource
           
protected  String name
           
protected  List<MessageProcessor> responseTransformers
           
protected  List<MessageProcessor> transformers
           
 
Constructor Summary
AbstractFlowConstructBuilder()
           
 
Method Summary
protected  void addExceptionListener(AbstractFlowConstruct flowConstruct)
           
 F build(MuleContext muleContext)
           
 F buildAndRegister(MuleContext muleContext)
           
protected abstract  F buildFlowConstruct(MuleContext muleContext)
           
 T exceptionStrategy(MessagingExceptionHandler exceptionListener)
           
 T initialState(String initialState)
           
 T messageSource(MessageSource messageSource)
           
 T name(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

initialState

protected String initialState

messageSource

protected MessageSource messageSource

exceptionListener

protected MessagingExceptionHandler exceptionListener

transformers

protected List<MessageProcessor> transformers

responseTransformers

protected List<MessageProcessor> responseTransformers
Constructor Detail

AbstractFlowConstructBuilder

public AbstractFlowConstructBuilder()
Method Detail

name

public T name(String name)

messageSource

public T messageSource(MessageSource messageSource)

exceptionStrategy

public T exceptionStrategy(MessagingExceptionHandler exceptionListener)

initialState

public T initialState(String initialState)

build

public F build(MuleContext muleContext)
                                      throws MuleException
Throws:
MuleException

buildAndRegister

public F buildAndRegister(MuleContext muleContext)
                                                 throws MuleException
Throws:
MuleException

buildFlowConstruct

protected abstract F buildFlowConstruct(MuleContext muleContext)
                                                               throws MuleException
Throws:
MuleException

addExceptionListener

protected void addExceptionListener(AbstractFlowConstruct flowConstruct)


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.