public class Rules extends Object implements org.mule.api.lifecycle.Initialisable, org.mule.api.lifecycle.Disposable, MessageService
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
logger |
protected org.mule.api.MuleContext |
muleContext |
| Constructor and Description |
|---|
Rules(RulesEngine rulesEngine,
String resource,
Object configuration,
String entryPoint,
Collection initialFacts,
boolean stateless,
boolean cepMode,
org.mule.api.construct.FlowConstruct flowConstruct,
org.mule.api.MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
org.mule.api.MuleMessage |
generateMessage(String endpoint,
Object payload,
Map messageProperties,
org.mule.MessageExchangePattern exchangePattern) |
Object |
getConfiguration() |
String |
getEntryPointLabel() |
Collection |
getInitialVariables() |
String |
getResource() |
Object |
getSessionData() |
protected Object |
handleEvent(org.mule.api.MuleEvent event) |
void |
initialise() |
boolean |
isCepMode() |
boolean |
isStateless() |
protected transient org.mule.api.MuleContext muleContext
protected static final org.apache.commons.logging.Log logger
public Rules(RulesEngine rulesEngine, String resource, Object configuration, String entryPoint, Collection initialFacts, boolean stateless, boolean cepMode, org.mule.api.construct.FlowConstruct flowConstruct, org.mule.api.MuleContext muleContext)
public void initialise()
throws org.mule.api.lifecycle.InitialisationException
initialise in interface org.mule.api.lifecycle.Initialisableorg.mule.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.api.lifecycle.Disposableprotected Object handleEvent(org.mule.api.MuleEvent event) throws Exception
Exceptionpublic org.mule.api.MuleMessage generateMessage(String endpoint, Object payload, Map messageProperties, org.mule.MessageExchangePattern exchangePattern) throws org.mule.api.MuleException
generateMessage in interface MessageServiceorg.mule.api.MuleExceptionpublic String getResource()
public Object getConfiguration()
public String getEntryPointLabel()
public Object getSessionData()
public Collection getInitialVariables()
public boolean isStateless()
public boolean isCepMode()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.