|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.p13n.advisor.AbstractAdviceTransform com.bea.p13n.advisor.OutputToInputTransform
public class 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
. If the Advice is null or incomplete no transformation
is performed.
Field Summary |
---|
Fields inherited from interface com.bea.p13n.advisor.AdviceConstants |
---|
RESULTS |
Constructor Summary | |
---|---|
OutputToInputTransform(Advisor ignore,
Metadata metadata)
Construct an instance of this object and bind it to its Advisor and Metadata instances. |
Method Summary | |
---|---|
String |
getRequestKey()
Returns the request key. |
String |
getSpecificKey()
Returns the request-specific key. |
String |
getSpecificValue()
Returns the request-specific value. |
boolean |
initialize(Map parameters,
Object parameterDocument)
Initializes this with the given parameters and a parameterDocument . |
void |
transform(Advice input,
AdviceRequest output)
Transforms the given Advice into AdviceRequest
to pass it to another Advisor in the advislet chain defined in the
advislet registry. |
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 |
Constructor Detail |
---|
public OutputToInputTransform(Advisor ignore, Metadata metadata)
Advisor
and Metadata
instances.
ignore
- the advisor for this object.metadata
- the metadata for this object.Method Detail |
---|
public boolean initialize(Map parameters, Object parameterDocument) throws AdvisorException
AbstractAdviceTransform
parameters
and a parameterDocument
.
initialize
in interface AdvisletChainElement
initialize
in class AbstractAdviceTransform
parameters
- A map containing key-value pairs.parameterDocument
- An Object
representing a parameter document.
true
if this operation is successful, otherwise returns
false
.
AdvisorException
- If an error occurs during initialization process.public void transform(Advice input, AdviceRequest output) throws AdvisorException
AbstractAdviceTransform
Advice
into AdviceRequest
to pass it to another Advisor
in the advislet chain defined in the
advislet registry.
transform
in interface AdviceTransform
transform
in class AbstractAdviceTransform
input
- An Advice
from which the parameters are extracted and transformed.output
- An AdviceRequest
that is prepared from the given Advice
.
AdvisorException
- If an error occurs during the transformation process.public String getRequestKey()
public String getSpecificKey()
public String getSpecificValue()
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |