|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.axiom.p13n.advisor.PersonalizationAdvisorBean
AdvisorBean
Implementation Class for the Personalization Advisor Bean. The p13n advisor bean makes recommendations for advise requests. To get recommendations, first create a request template for the type of request you want to make by calling the advisor's createRequestTemplate method, then fill out the template with the required information, and then call the advisor's advise() method.
Field Summary | |
protected static boolean |
debug
Deprecated. |
Constructor Summary | |
PersonalizationAdvisorBean()
Deprecated. Default Constructor |
Method Summary | |
AdviceResults |
advise(AdviceRequest adviceRequest)
Deprecated. This method makes recommendations based the AdviceRequest passed in. |
AdviceRequest |
createRequestTemplate(java.lang.String adviceRequestClassName,
java.lang.String pzTechnique)
Deprecated. This method creates an AdviceRequest template for the adviceRequestClassName passed in. |
void |
ejbActivate()
Deprecated. Activates the bean. |
void |
ejbCreate()
Deprecated. Creates a bean instance. |
void |
ejbPassivate()
Deprecated. Passivates the bean. |
void |
ejbRemove()
Deprecated. Removes the bean. |
void |
setSessionContext(javax.ejb.SessionContext sessionContext)
Deprecated. Sets the session context for the bean instance. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static final boolean debug
Constructor Detail |
public PersonalizationAdvisorBean()
Method Detail |
public AdviceResults advise(AdviceRequest adviceRequest) throws java.lang.IllegalArgumentException, PersonalizationAdvisorException, AdviceRequestValidationException, java.rmi.RemoteException
adviceRequest
- The advice request for which to make a
recommendation.public AdviceRequest createRequestTemplate(java.lang.String adviceRequestClassName, java.lang.String pzTechnique) throws java.lang.IllegalArgumentException, PersonalizationAdvisorException, java.rmi.RemoteException
adviceRequestClassName
- The class name of the AdviceRequest
which is used to create the template.pzTechnique
- The personalization technique name to use in
the determination of the best fit personalization agent to
use for the request type. The only valid personalization
technqiues at this time are:
pz:bea:rules
pz:bea:querypublic void ejbActivate()
public void ejbCreate() throws javax.ejb.CreateException
public void ejbPassivate()
public void ejbRemove()
public void setSessionContext(javax.ejb.SessionContext sessionContext)
sessionContext
- The session context
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |