com.mulesoft.mql.mule
Class QueryService

java.lang.Object
  extended by org.mule.construct.AbstractFlowConstruct
      extended by com.mulesoft.mql.mule.QueryService
All Implemented Interfaces:
org.mule.api.construct.FlowConstruct, org.mule.api.lifecycle.Disposable, org.mule.api.lifecycle.Initialisable, org.mule.api.lifecycle.Lifecycle, org.mule.api.lifecycle.LifecycleStateEnabled, org.mule.api.lifecycle.Startable, org.mule.api.lifecycle.Stoppable

public class QueryService
extends org.mule.construct.AbstractFlowConstruct


Field Summary
 
Fields inherited from class org.mule.construct.AbstractFlowConstruct
exceptionListener, lifecycleManager, logger, messageInfoMapping, messageProcessorChain, messageSource, muleContext, name, statistics, threadingProfile
 
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
QueryService(String name, String query, Type type, org.mule.api.source.MessageSource messageSource, org.mule.api.MuleContext muleContext)
           
 
Method Summary
protected  void configureMessageProcessors(org.mule.api.processor.MessageProcessorChainBuilder builder)
           
protected  void createJsonTransformers(org.mule.api.processor.MessageProcessorChainBuilder builder)
           
 String getConstructType()
           
protected  org.mule.api.routing.filter.Filter getFormFilter()
           
protected  org.mule.api.routing.filter.Filter getJsonFilter()
           
 
Methods inherited from class org.mule.construct.AbstractFlowConstruct
createMessageProcessor, dispose, disposeIfDisposable, doDispose, doInitialise, doStart, doStop, getExceptionListener, getLifecycleState, getMessageInfoMapping, getMessageProcessorChain, getMessageSource, getMuleContext, getName, getStatistics, getThreadingProfile, initialise, initialiseIfInitialisable, injectFlowConstructMuleContext, isStarted, isStopped, isStopping, setExceptionListener, setMessageInfoMapping, setMessageSource, start, startIfStartable, stop, stopIfStoppable, toString, validateConstruct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryService

public QueryService(String name,
                    String query,
                    Type type,
                    org.mule.api.source.MessageSource messageSource,
                    org.mule.api.MuleContext muleContext)
Method Detail

configureMessageProcessors

protected void configureMessageProcessors(org.mule.api.processor.MessageProcessorChainBuilder builder)
                                   throws org.mule.api.MuleException
Specified by:
configureMessageProcessors in class org.mule.construct.AbstractFlowConstruct
Throws:
org.mule.api.MuleException

createJsonTransformers

protected void createJsonTransformers(org.mule.api.processor.MessageProcessorChainBuilder builder)
                               throws org.mule.api.lifecycle.InitialisationException
Throws:
org.mule.api.lifecycle.InitialisationException

getJsonFilter

protected org.mule.api.routing.filter.Filter getJsonFilter()

getFormFilter

protected org.mule.api.routing.filter.Filter getFormFilter()

getConstructType

public String getConstructType()
Specified by:
getConstructType in class org.mule.construct.AbstractFlowConstruct


Copyright © 2011. All Rights Reserved.