Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
Adds, removes and runs dynamic Flows
Summary
| Public Methods |
|
void
|
add(String contextName, List<String> configs)
Adds a dynamic context to the main application.
|
|
void
|
onNotification(MuleContextNotification notification)
|
|
void
|
remove(String contextName)
Removes a context from the main application
|
|
MuleMessage
|
run(String contextName, String flowName, MuleMessage message)
Runs the flow added dynamically using a VM transport (request-response)
|
|
void
|
setApplicationContext(ApplicationContext applicationContext)
Sets the parent application context.@see{org.springframework.context.ApplicationContextAware}
|
|
void
|
setMuleContext(MuleContext context)
|
|
MuleMessage
|
vmRun(String contextName, String flowName, MuleMessage message)
Runs the flow added dynamically using a vm inbound
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
org.mule.api.context.MuleContextAware
|
abstract
void
|
setMuleContext(MuleContext arg0)
|
|
From interface
org.mule.api.context.notification.ServerNotificationListener
|
abstract
void
|
onNotification(T arg0)
|
|
From interface
org.springframework.context.ApplicationContextAware
|
abstract
void
|
setApplicationContext(ApplicationContext arg0)
|
|
Fields
private
ApplicationContext
applicationContext
private
MuleContext
mainContext
Public Constructors
public
DynamicFlowsModule
()
Public Methods
public
void
add
(String contextName, List<String> configs)
Adds a dynamic context to the main application.
Parameters
| contextName
| The context identifier |
| configs
| The configuration files of the context that is going to be added.
|
public
void
onNotification
(MuleContextNotification notification)
public
void
remove
(String contextName)
Removes a context from the main application
Parameters
| contextName
| The context identifier
|
public
MuleMessage
run
(String contextName, String flowName, MuleMessage message)
Runs the flow added dynamically using a VM transport (request-response)
Parameters
| contextName
| The context identifier |
| flowName
| The flow identifier |
| message
| The flow's payload |
public
void
setApplicationContext
(ApplicationContext applicationContext)
Sets the parent application context.@see{org.springframework.context.ApplicationContextAware}
public
void
setMuleContext
(MuleContext context)
public
MuleMessage
vmRun
(String contextName, String flowName, MuleMessage message)
Runs the flow added dynamically using a vm inbound
Parameters
| contextName
| The context identifier |
| flowName
| The flow identifier with the VM inbound |
| message
| The flow's payload |