org.openorb.trader.constraint
Class TraderEvaluator

java.lang.Object
  extended by org.openorb.trader.constraint.TraderEvaluator

public class TraderEvaluator
extends java.lang.Object

To evaluate Trader constraints, we reuse the OpenORB Evaluator Utility. However, we encapsulate it to provide some additional features for the trader.

Author:
Jerome Daniel

Constructor Summary
TraderEvaluator()
           
 
Method Summary
static TraderConstraint createTraderConstraint(java.lang.String constraint, org.omg.CORBA.ORB orb)
          This operation creates a new constraint object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraderEvaluator

public TraderEvaluator()
Method Detail

createTraderConstraint

public static TraderConstraint createTraderConstraint(java.lang.String constraint,
                                                      org.omg.CORBA.ORB orb)
                                               throws org.openorb.constraint.InvalidConstraint
This operation creates a new constraint object. If the constraint contains a mistake, the InvalidConstraint exception is raised.

Throws:
org.openorb.constraint.InvalidConstraint