BEA Systems, Inc.

examples.advisor
Class ClassificationExample

java.lang.Object
  |
  +--examples.advisor.ClassificationExample

public class ClassificationExample
extends java.lang.Object

Uses the Advisor to run classifier rule.


Constructor Summary
ClassificationExample()
           
 
Method Summary
 com.beasys.commerce.axiom.reasoning.rules.results.Classification executeClassifier(javax.servlet.jsp.PageContext pageContext, java.lang.String ruleset, java.lang.String rule)
          Runs a classifier rule
static javax.naming.Context getInitialContext()
          Gets an initial context for the current user, password and url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassificationExample

public ClassificationExample()
Method Detail

executeClassifier

public com.beasys.commerce.axiom.reasoning.rules.results.Classification executeClassifier(javax.servlet.jsp.PageContext pageContext,
                                                                                          java.lang.String ruleset,
                                                                                          java.lang.String rule)
                                                                                   throws javax.servlet.jsp.JspException
Runs a classifier rule

getInitialContext

public static javax.naming.Context getInitialContext()
                                              throws java.lang.Exception
Gets an initial context for the current user, password and url.
Returns:
Context
Throws:
java.lang.Exception - if there is an error in getting the Context

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved