org.mule.module.bpm
Class Rules

java.lang.Object
  extended by org.mule.module.bpm.Rules
All Implemented Interfaces:
org.mule.api.lifecycle.Disposable, org.mule.api.lifecycle.Initialisable, MessageService

public class Rules
extends Object
implements org.mule.api.lifecycle.Initialisable, org.mule.api.lifecycle.Disposable, MessageService

Business rules.


Field Summary
protected static org.apache.commons.logging.Log logger
           
protected  org.mule.api.MuleContext muleContext
           
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
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)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

muleContext

protected transient org.mule.api.MuleContext muleContext

logger

protected static final org.apache.commons.logging.Log logger
Constructor Detail

Rules

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)
Method Detail

initialise

public void initialise()
                throws org.mule.api.lifecycle.InitialisationException
Specified by:
initialise in interface org.mule.api.lifecycle.Initialisable
Throws:
org.mule.api.lifecycle.InitialisationException

dispose

public void dispose()
Specified by:
dispose in interface org.mule.api.lifecycle.Disposable

handleEvent

protected Object handleEvent(org.mule.api.MuleEvent event)
                      throws Exception
Throws:
Exception

generateMessage

public org.mule.api.MuleMessage generateMessage(String endpoint,
                                                Object payload,
                                                Map messageProperties,
                                                org.mule.MessageExchangePattern exchangePattern)
                                         throws org.mule.api.MuleException
Specified by:
generateMessage in interface MessageService
Throws:
org.mule.api.MuleException

getResource

public String getResource()

getConfiguration

public Object getConfiguration()

getEntryPointLabel

public String getEntryPointLabel()

getSessionData

public Object getSessionData()

getInitialVariables

public Collection getInitialVariables()

isStateless

public boolean isStateless()

isCepMode

public boolean isCepMode()


Copyright © 2003-2013 MuleSoft, Inc.. All Rights Reserved.