com.ibm.websphere.brb.strategy
Class AcceptAnyFilteringStrategy

java.lang.Object
  |
  +--com.ibm.websphere.brb.strategy.AcceptAnyFilteringStrategy
All Implemented Interfaces:
FilteringStrategy, java.io.Serializable

public class AcceptAnyFilteringStrategy
extends java.lang.Object
implements FilteringStrategy, java.io.Serializable

Accepts any number of rules which are found and returns them unmodified.

See Also:
Serialized Form

Fields inherited from interface com.ibm.websphere.brb.FilteringStrategy
ACCEPT_ANY, ACCEPT_FIRST, ACCEPT_LAST, ACCEPT_ONE
 
Constructor Summary
AcceptAnyFilteringStrategy()
           
 
Method Summary
 IRule[] filterRules(TriggerPoint tp, IRule[] rules)
          Returns the list of rules unmodified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcceptAnyFilteringStrategy

public AcceptAnyFilteringStrategy()
Method Detail

filterRules

public IRule[] filterRules(TriggerPoint tp,
                           IRule[] rules)
                    throws BusinessRuleBeansException
Returns the list of rules unmodified.

Specified by:
filterRules in interface FilteringStrategy
Following copied from interface: com.ibm.websphere.brb.FilteringStrategy
Parameters:
tp - the trigger point which is used to make this call
rules - a list of rules, possibly empty, which this method can modify and return; will not be null
Returns:
An array of Rules which should be fired. If there are no rules to be fired, an array of length zero will be returned.
Throws:
BusinessRuleBeansException - if any exceptions occur