|
© 2002 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.bea.p13n.advisor.AbstractAdvislet
An abstract class which provides some default method implementations for classes wishing to implement the Advislet interface.
| Field Summary | |
protected Metadata |
advisletMetadata
The metadata for the Advislet |
protected Advisor |
advisor
The Advisor associated with this Advislet instance. |
protected java.util.Map |
parametersMap
The parameters Map for the Advislet |
| Constructor Summary | |
AbstractAdvislet(Advisor advisor,
Metadata advisletMetadata)
Constructs a new AbstractAdvislet associated with the Advisor supplied. |
|
| Method Summary | |
Advice |
getAdvice(AdviceRequest request)
|
protected Advisor |
getAdvisor()
Gets the Advisor associated with this Advislet. |
Metadata |
getMetadata()
Returns the metadata for the Advislet. |
java.lang.Object[] |
getRequiredAttributes()
|
boolean |
initialize(java.util.Map parameters,
java.lang.Object parameterDocument)
Initializes this with the given parameters and a parameterDocument. |
java.lang.String |
toString()
Returns a String representation of this. |
void |
validateAdviceRequest(AdviceRequest request)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
protected Advisor advisor
protected Metadata advisletMetadata
protected java.util.Map parametersMap
| Constructor Detail |
public AbstractAdvislet(Advisor advisor,
Metadata advisletMetadata)
| Method Detail |
public boolean initialize(java.util.Map parameters,
java.lang.Object parameterDocument)
throws AdvisorException
parameters and a parameterDocument.
parameters - A map containing key-value pairs.parameterDocument - An Object representing a parameter document.true if this operation is successful, otherwise returns
false.protected Advisor getAdvisor()
public Metadata getMetadata()
public Advice getAdvice(AdviceRequest request)
throws java.lang.IllegalArgumentException,
AdvisorException
public void validateAdviceRequest(AdviceRequest request)
throws java.lang.IllegalArgumentException
public java.lang.Object[] getRequiredAttributes()
public java.lang.String toString()
|
© 2002 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||