|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is the common interface for all Advislets
.
An Advislet is a simple, pluggable piece of personalization technology
that can be declaratively chained with other Advislets though the
AdvisletRegistry.
The Advisor uses the AdvisletRegistry to select Advislets based on the URI of an incoming AdviceRequest.
Advislets are deployed and bound to a URI through the AdvisletRegistry configuration file (advislet-registry.xml).
Method Summary | |
Advice |
getAdvice(AdviceRequest request)
Makes recommendations based on the AdviceRequest passed in. |
java.lang.Object[] |
getRequiredAttributes()
Returns an array of required attributes for the advislet. |
void |
validateAdviceRequest(AdviceRequest request)
Allows for custom AdviceRequest validation logic in addition to the required attribute checking performed by the Advisor. |
Methods inherited from interface com.bea.p13n.advisor.AdvisletChainElement |
getMetadata,
initialize |
Method Detail |
public Advice getAdvice(AdviceRequest request) throws java.lang.IllegalArgumentException, AdvisorException
request
- The advice request for which to make a recommendation.public java.lang.Object[] getRequiredAttributes()
public void validateAdviceRequest(AdviceRequest request) throws java.lang.IllegalArgumentException
request
- the request to validate.
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |