|
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.java.lang.IllegalArgumentException - Thrown if the adviceRequest parameter
is null or an unsupported type.PersonalizationAdvisorException - thrown on an error when
processing the request.AdviceRequestValidationException - thrown on an error when
validating the request.java.rmi.RemoteException - thrown on a communication error.
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:queryjava.lang.IllegalArgumentException - Thrown if the parameters
are null or an unsupported type.PersonalizationAdvisorException - thrown on an error when
creating the template.java.rmi.RemoteException - thrown on a communication error.public void ejbActivate()
ejbActivate in interface javax.ejb.SessionBean
public void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateException - Thrown if unable to create the ejbpublic void ejbPassivate()
ejbPassivate in interface javax.ejb.SessionBeanpublic void ejbRemove()
ejbRemove in interface javax.ejb.SessionBeanpublic void setSessionContext(javax.ejb.SessionContext sessionContext)
setSessionContext in interface javax.ejb.SessionBeansessionContext - The session context
|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||