org.mule.module.apikit
Class Router

java.lang.Object
  extended by org.mule.module.apikit.Router
All Implemented Interfaces:
org.mule.api.construct.FlowConstructAware, org.mule.api.context.MuleContextAware, org.mule.api.lifecycle.Initialisable, org.mule.api.processor.MessageProcessor

public class Router
extends Object
implements org.mule.api.processor.MessageProcessor, org.mule.api.lifecycle.Initialisable, org.mule.api.context.MuleContextAware, org.mule.api.construct.FlowConstructAware


Field Summary
static String APPLICATION_RAML
           
protected  org.slf4j.Logger logger
           
static String VERSION
           
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Constructor Summary
Router()
           
 
Method Summary
 void initialise()
           
 org.mule.api.MuleEvent process(org.mule.api.MuleEvent event)
           
 void setConfig(Configuration config)
           
 void setFlowConstruct(org.mule.api.construct.FlowConstruct flowConstruct)
           
 void setMuleContext(org.mule.api.MuleContext context)
           
protected  void validateRaml(String ramlBuffer, org.raml.parser.loader.ResourceLoader resourceLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPLICATION_RAML

public static final String APPLICATION_RAML
See Also:
Constant Field Values

VERSION

public static final String VERSION
See Also:
Constant Field Values

logger

protected final org.slf4j.Logger logger
Constructor Detail

Router

public Router()
Method Detail

setMuleContext

public void setMuleContext(org.mule.api.MuleContext context)
Specified by:
setMuleContext in interface org.mule.api.context.MuleContextAware

setConfig

public void setConfig(Configuration config)

initialise

public void initialise()
                throws org.mule.api.lifecycle.InitialisationException
Specified by:
initialise in interface org.mule.api.lifecycle.Initialisable
Throws:
org.mule.api.lifecycle.InitialisationException

validateRaml

protected void validateRaml(String ramlBuffer,
                            org.raml.parser.loader.ResourceLoader resourceLoader)

process

public org.mule.api.MuleEvent process(org.mule.api.MuleEvent event)
                               throws org.mule.api.MuleException
Specified by:
process in interface org.mule.api.processor.MessageProcessor
Throws:
org.mule.api.MuleException

setFlowConstruct

public void setFlowConstruct(org.mule.api.construct.FlowConstruct flowConstruct)
Specified by:
setFlowConstruct in interface org.mule.api.construct.FlowConstructAware


Copyright © 2013. All rights reserved.