examples.advisor
Class ClassificationExample
java.lang.Object
|
+--examples.advisor.ClassificationExample
- public class ClassificationExample
- extends java.lang.Object
Uses the Advisor to run classifier rule.
- Version:
- 0.1, 2/29/2000
- Author:
- original: Steve Willcox, latest: $Author$
Method Summary |
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 |
ClassificationExample
public ClassificationExample()
executeClassifier
public 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
Copyright © 2000 BEA Systems, Inc. All Rights Reserved