com.bea.p13n.advisor
Class OutputListItemToInputTransform
java.lang.Object
|
+--com.bea.p13n.advisor.AbstractAdviceTransform
|
+--com.bea.p13n.advisor.OutputToInputTransform
|
+--com.bea.p13n.advisor.OutputListItemToInputTransform
- public class OutputListItemToInputTransform
- extends OutputToInputTransform
This is an AdviceTransform
that takes the last RESULT key
(getResult return value) from the Advice
object and puts it into
the key specified in the "output-key" parameter field in the
AdviceRequest
. Additionally, if the result object is a List only
the first item of the List is added to the AdviceRequest.
If the Advice is null or incomplete no transformation
is performed.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
OutputListItemToInputTransform
public OutputListItemToInputTransform(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 object.metadata
- the metadata for this object.
transform
public void transform(Advice input,
AdviceRequest output)
throws AdvisorException
- Overrides:
- transform in class OutputToInputTransform
Copyright © 2002 BEA Systems, Inc. All Rights Reserved