|
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
public abstract class AbstractAdviceTransform
This is an abstract base class useful for defining new AdviceTransform
classes.
Field Summary |
---|
Fields inherited from interface com.bea.p13n.advisor.AdviceConstants |
---|
RESULTS |
Constructor Summary | |
---|---|
AbstractAdviceTransform(Metadata metadata)
Construct an instance of this object and bind it to its Metadata instance. |
Method Summary | |
---|---|
Metadata |
getMetadata()
Returns the Metadata that is associated with this. |
boolean |
initialize(Map parameters,
Object parameterDocument)
Initializes this with the given parameters and a parameterDocument . |
String |
toString()
Constructs and returns a String representation of this object. |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractAdviceTransform(Metadata metadata)
Metadata
instance.
metadata
- the metadata for this object.Method Detail |
---|
public boolean initialize(Map parameters, Object parameterDocument) throws AdvisorException
parameters
and a parameterDocument
.
initialize
in interface AdvisletChainElement
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
Advice
into AdviceRequest
to pass it to another Advisor
in the advislet chain defined in the
advislet registry.
transform
in interface AdviceTransform
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 Metadata getMetadata()
Metadata
that is associated with this.
getMetadata
in interface AdvisletChainElement
Metadata
.public String toString()
toString
in class Object
|
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 |