org.mule.construct
Class Validator

java.lang.Object
  extended by org.mule.construct.AbstractFlowConstruct
      extended by org.mule.construct.Validator
All Implemented Interfaces:
FlowConstruct, Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable, MessageProcessor

public class Validator
extends AbstractFlowConstruct


Field Summary
 
Fields inherited from class org.mule.construct.AbstractFlowConstruct
exceptionListener, lifecycleManager, logger, messageInfoMapping, messageProcessorChain, messageSource, muleContext, name, statistics
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
Validator(java.lang.String name, MuleContext muleContext, MessageSource messageSource, OutboundEndpoint outboundEndpoint, Filter validationFilter, java.lang.String ackExpression, java.lang.String nackExpression)
           
Validator(java.lang.String name, MuleContext muleContext, MessageSource messageSource, OutboundEndpoint outboundEndpoint, Filter validationFilter, java.lang.String ackExpression, java.lang.String nackExpression, java.lang.String errorExpression)
           
 
Method Summary
protected  void configureMessageProcessors(InterceptingChainMessageProcessorBuilder builder)
          Used to configure the processing chain for this FlowConstuctMessageProcessors to the chain using the builder provided.
protected  boolean hasErrorExpression()
           
protected  void validateConstruct()
          Validates configured flow construct
 
Methods inherited from class org.mule.construct.AbstractFlowConstruct
createMessageProcessor, dispose, doDispose, doInitialise, doStart, doStop, getExceptionListener, getLifecycleState, getMessageInfoMapping, getMessageSource, getMuleContext, getName, getStatistics, initialise, isStarted, isStopped, isStopping, process, setExceptionListener, setMessageInfoMapping, setMessageSource, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Validator

public Validator(java.lang.String name,
                 MuleContext muleContext,
                 MessageSource messageSource,
                 OutboundEndpoint outboundEndpoint,
                 Filter validationFilter,
                 java.lang.String ackExpression,
                 java.lang.String nackExpression)

Validator

public Validator(java.lang.String name,
                 MuleContext muleContext,
                 MessageSource messageSource,
                 OutboundEndpoint outboundEndpoint,
                 Filter validationFilter,
                 java.lang.String ackExpression,
                 java.lang.String nackExpression,
                 java.lang.String errorExpression)
Method Detail

configureMessageProcessors

protected void configureMessageProcessors(InterceptingChainMessageProcessorBuilder builder)
Description copied from class: AbstractFlowConstruct
Used to configure the processing chain for this FlowConstuctMessageProcessors to the chain using the builder provided.

To use a different builder of to construct a composite MessageProcessor manually override AbstractFlowConstruct.createMessageProcessor() instead.

Specified by:
configureMessageProcessors in class AbstractFlowConstruct
Parameters:
builder - instance of InterceptingChainMessageProcessorBuilder

validateConstruct

protected void validateConstruct()
                          throws FlowConstructInvalidException
Description copied from class: AbstractFlowConstruct
Validates configured flow construct

Overrides:
validateConstruct in class AbstractFlowConstruct
Throws:
FlowConstructInvalidException - if the flow construct does not pass validation

hasErrorExpression

protected boolean hasErrorExpression()


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