com.ibm.able.conversation
Class DecisionLogicAdapter
java.lang.Object
|
+--com.ibm.able.conversation.DecisionLogicAdapter
- All Implemented Interfaces:
- java.io.Serializable
- public class DecisionLogicAdapter
- extends java.lang.Object
- implements java.io.Serializable
This class is meant to be an abstraction of the things to be performed
by a piece of code that glues the Able Jas Conversation Agent to an able bean
that computes a decision based on the curent state and the input to the state.
OLD VERSION -- TO BE DELETED Replaced by
com.ibm.conversation.DecisionLogicAdapter.
The adapter examines the agent's decision (udf) table to find out the appropriate
udf to be called for a particular policy's decision point. It then invlkes the udf
using the following information
(1) The decision point name(identifier) at which a decision is required
(2) Data available to base he decision on
It then returns the decision and decision data back to the entity that requested
for a decision, in this case, the conversation manager.
- See Also:
- Serialized Form
Field Summary |
protected static long |
serialVersionUID
Serialized version identifier in form YYYYMMDDVerRelModxx |
Method Summary |
void |
process(java.lang.String conversationId,
java.lang.String decisionName,
java.lang.Object[] decisionData)
process input data by making a udf call to the decision logic code(bean)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
protected static final long serialVersionUID
- Serialized version identifier in form YYYYMMDDVerRelModxx
DecisionLogicAdapter
public DecisionLogicAdapter(AbleJasConversationAgent agent,
SimpleConversationManager manager)
- Constructor for the decision logic adapter
- Parameters:
agent
- the able jas conversation agent
manager
- the conversation manager to return decision data to
process
public void process(java.lang.String conversationId,
java.lang.String decisionName,
java.lang.Object[] decisionData)
- process input data by making a udf call to the decision logic code(bean)
- Parameters:
conversationId
- the conversation identifier
decisionName
- the decision point name(identifier) at which
a decision is required
decisionData
- Object array that contains the input objects to make the decision
(C) Copyright IBM Corporation 1999, 2003