© 2001 BEA Systems, Inc.


com.bea.p13n.rules.advislets
Class ResultsToRulesInputTransform

java.lang.Object
  |
  +--com.bea.p13n.advisor.AbstractAdviceTransform
        |
        +--com.bea.p13n.rules.advislets.ResultsToRulesInputTransform

public class ResultsToRulesInputTransform
extends AbstractAdviceTransform

An AdviceTransform that converts the results in one Advice objects into rule inputs in the AdviceRequest.


Field Summary
static java.lang.String REQUEST_SPECIFIC_KEY
          A string key for identifying a request-specific key.
static java.lang.String REQUEST_SPECIFIC_VALUE
          A string key for identifying a request-specific value.
 
Constructor Summary
ResultsToRulesInputTransform(Advisor advisor, Metadata metadata)
          Construct an instance of this object and bind it to its Advisor and Metadata instances.
 
Method Summary
 boolean initialize(java.util.Map parameters, java.lang.Object parameterDocument)
           
 void transform(Advice input, AdviceRequest output)
           
 
Methods inherited from class com.bea.p13n.advisor.AbstractAdviceTransform
getMetadata, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REQUEST_SPECIFIC_KEY

public static final java.lang.String REQUEST_SPECIFIC_KEY
A string key for identifying a request-specific key.

REQUEST_SPECIFIC_VALUE

public static final java.lang.String REQUEST_SPECIFIC_VALUE
A string key for identifying a request-specific value.
Constructor Detail

ResultsToRulesInputTransform

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

Parameters:
advisor - the Advisor for this transform.
metadata - the Metadata for this transform.
Method Detail

initialize

public boolean initialize(java.util.Map parameters,
                          java.lang.Object parameterDocument)
                   throws AdvisorException

Overrides:
initialize in class AbstractAdviceTransform

transform

public void transform(Advice input,
                      AdviceRequest output)
               throws AdvisorException

Overrides:
transform in class AbstractAdviceTransform

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved