| Modifier and Type | Field and Description |
|---|---|
protected AbstractConfiguration |
config |
protected org.mule.api.construct.FlowConstruct |
flowConstruct |
protected org.slf4j.Logger |
logger |
protected org.mule.api.MuleContext |
muleContext |
protected RamlDescriptorHandler |
ramlHandler |
| Constructor and Description |
|---|
AbstractRouter() |
| Modifier and Type | Method and Description |
|---|---|
protected org.raml.model.Raml |
getApi() |
protected abstract org.mule.construct.Flow |
getFlow(org.raml.model.Resource resource,
String method) |
protected abstract org.mule.api.MuleEvent |
handleEvent(org.mule.api.MuleEvent event,
String path) |
org.mule.api.MuleEvent |
process(org.mule.api.MuleEvent event) |
void |
setFlowConstruct(org.mule.api.construct.FlowConstruct flowConstruct) |
void |
setMuleContext(org.mule.api.MuleContext context) |
void |
start() |
protected abstract void |
startConfiguration() |
protected final org.slf4j.Logger logger
protected org.mule.api.MuleContext muleContext
protected org.mule.api.construct.FlowConstruct flowConstruct
protected AbstractConfiguration config
protected RamlDescriptorHandler ramlHandler
public void start()
throws org.mule.api.MuleException
start in interface org.mule.api.lifecycle.Startableorg.mule.api.MuleExceptionprotected abstract void startConfiguration()
throws org.mule.api.lifecycle.StartException
org.mule.api.lifecycle.StartExceptionprotected org.raml.model.Raml getApi()
public void setMuleContext(org.mule.api.MuleContext context)
setMuleContext in interface org.mule.api.context.MuleContextAwarepublic void setFlowConstruct(org.mule.api.construct.FlowConstruct flowConstruct)
setFlowConstruct in interface org.mule.api.construct.FlowConstructAwarepublic org.mule.api.MuleEvent process(org.mule.api.MuleEvent event)
throws org.mule.api.MuleException
process in interface org.mule.api.processor.MessageProcessororg.mule.api.MuleExceptionprotected abstract org.mule.api.MuleEvent handleEvent(org.mule.api.MuleEvent event,
String path)
throws org.mule.api.MuleException
org.mule.api.MuleExceptionprotected abstract org.mule.construct.Flow getFlow(org.raml.model.Resource resource,
String method)
Copyright © 2014. All rights reserved.