AdviceTransform Interface

com.bea.p13n.advisor
AdviceTransform Interface

public interface AdviceTransform

    extends AdvisletChainElement

An AdviceTransform is the link between two Advislets in an advislet chain (as defined in the AdvisletRegistry). The AdviceTransform transforms the Advice results generated by one Advislet into the AdviceRequest entries required for the next.

An AdviceTransform represents a mapping of outputs from one Advislet invocation into inputs to a subsequent invocation.

A number of reusable AdviceTransform's are supplied.


All Known Implementing Classes
AbstractAdviceTransform
All Superinterfaces
AdvisletChainElement

Method Summary

public void
transform(Advice input, AdviceRequest output)
Transforms the given Advice that contains the input objects (may be null) into AdviceRequest to pass it to another Advisor in the advislet chain defined in the advislet registry.
 
Methods from interface com.bea.p13n.advisor.AdvisletChainElement
getMetadata, initialize
   

Method Detail

transform(Advice, AdviceRequest) Method

public void transform(Advice input, 
                      AdviceRequest output)
throws AdvisorException
Transforms the given Advice that contains the input objects (may be null) into AdviceRequest to pass it to another Advisor in the advislet chain defined in the advislet registry.

Parameters

input
An Advice from which the parameters are extracted and transformed.
output
An AdviceRequest that is prepared from the given Advice.

Exceptions

AdvisorException
If an error occurs during the transformation process.