org.mule.module.bpm
Class RulesComponent
java.lang.Object
org.mule.component.AbstractComponent
org.mule.module.bpm.RulesComponent
- All Implemented Interfaces:
- org.mule.api.AnnotatedObject, org.mule.api.component.Component, org.mule.api.construct.FlowConstructAware, org.mule.api.context.MuleContextAware, org.mule.api.lifecycle.Disposable, org.mule.api.lifecycle.Initialisable, org.mule.api.lifecycle.Lifecycle, org.mule.api.lifecycle.Startable, org.mule.api.lifecycle.Stoppable, org.mule.api.processor.MessageProcessor
public class RulesComponent
- extends org.mule.component.AbstractComponent
A service backed by a Business Rules engine such as Drools.
| Fields inherited from class org.mule.component.AbstractComponent |
flowConstruct, interceptorChain, interceptors, lifecycleManager, logger, muleContext, notificationHandler, statistics |
| 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 |
| Fields inherited from interface org.mule.api.AnnotatedObject |
PROPERTY_NAME |
| 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 org.mule.api.lifecycle.InitialisationException
- Overrides:
doInitialise in class org.mule.component.AbstractComponent
- Throws:
org.mule.api.lifecycle.InitialisationException
doInvoke
protected Object doInvoke(org.mule.api.MuleEvent event)
throws Exception
- Specified by:
doInvoke in class org.mule.component.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–2014 MuleSoft, Inc.. All rights reserved.