org.mule.module.bpm
Class RulesComponent
java.lang.Object
org.mule.component.AbstractComponent
org.mule.module.bpm.RulesComponent
- All Implemented Interfaces:
- AnnotatedObject, Component, FlowConstructAware, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, MessageProcessor
public class RulesComponent
- extends AbstractComponent
A service backed by a Business Rules engine such as Drools.
Methods inherited from class org.mule.component.AbstractComponent |
createResultEvent, dispose, doDispose, doStart, doStop, fireComponentNotification, getAnnotation, getAnnotations, getFlowConstruct, getInterceptors, getName, getStatistics, initialise, process, release, setAnnotations, setFlowConstruct, setInterceptors, setMuleContext, start, stop, toString |
rules
protected Rules rules
- The ruleset
rulesEngine
protected RulesEngine rulesEngine
- The underlying Rules Engine
RulesComponent
public RulesComponent()
doInitialise
protected void doInitialise()
throws InitialisationException
- Overrides:
doInitialise
in class AbstractComponent
- Throws:
InitialisationException
doInvoke
protected Object doInvoke(MuleEvent event)
throws Exception
- Specified by:
doInvoke
in class AbstractComponent
- Returns:
- a handle to the fact for future reference
- Throws:
Exception
setResource
public void setResource(String resource)
getResource
public String getResource()
getInitialFacts
public Collection getInitialFacts()
setInitialFacts
public void setInitialFacts(Collection initialFacts)
getEntryPoint
public String getEntryPoint()
setEntryPoint
public void setEntryPoint(String entryPoint)
setStateless
public void setStateless(boolean stateless)
isStateless
public boolean isStateless()
isCepMode
public boolean isCepMode()
setCepMode
public void setCepMode(boolean cepMode)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.