RulesInputTransform Class

com.bea.p13n.rules.advislets
RulesInputTransform Class

public class RulesInputTransform

    extends AbstractAdviceTransform

An AdviceTransform that converts AdviceRequest parameters into the input objects for the Rules Advislet.

The following parameters are put in a collection and associated with the RULES_INPUT_OBJECTS key:


Hierarchy
Object
  AbstractAdviceTransform
    RulesInputTransform
All Implemented Interfaces

AdviceConstants, AdviceRequestConstants, AdviceTransform, AdvisletChainElement

Constructor Summary

RulesInputTransform(Advisor advisor, Metadata metadata)

Construct an instance of this object and bind it to its Advisor and Metadata instances.
 

Method Summary

public void
transform(Advice input, AdviceRequest output)
Maps the 'well-knows' input objects into the RULES_INPUT_OBJECTS List to be passed into the rule engine.
 
Methods from  com.bea.p13n.advisor.AbstractAdviceTransform
getMetadata, initialize, toString,
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.p13n.advisor.AdviceTransform
transform
 
Methods from interface com.bea.p13n.advisor.AdvisletChainElement
getMetadata, initialize
 

Constructor Detail

RulesInputTransform

public RulesInputTransform(Advisor advisor, 
                           Metadata metadata)
Construct an instance of this object and bind it to its Advisor and Metadata instances.
 

Method Detail

transform(Advice, AdviceRequest) Method

public void transform(Advice input, 
                      AdviceRequest output)
throws AdvisorException
Maps the 'well-knows' input objects into the RULES_INPUT_OBJECTS List to be passed into the rule engine.

Overrides
AbstractAdviceTransform.transform(Advice, AdviceRequest)

Parameters

input
the the Advice instance containing the input objects
output
the AdviceRequest to be passed to the RulesAdvislet.

Exceptions

AdvisorException