© 2005 BEA Systems, Inc.

com.bea.p13n.controls.events.standard
Interface RuleEventControl

All Superinterfaces:
weblogic.jws.control.Control, com.bea.control.Control, Serializable

public interface RuleEventControl
extends weblogic.jws.control.Control

This control dispatches a 'RuleEvent' to the Portal Behavior Tracking System. This control may not be used in a JWS because the request and session objects are not available.
The Request object may be obtained from a Page Flow by:

 HttpServletRequest request = this.getRequest();
 

See Portal documentation on "Events and Behavior Tracking" for information on how to configure the service before using this control.


Nested Class Summary
 
Nested classes inherited from class com.bea.control.Control
com.bea.control.Control.Callback
 
Method Summary
 void dispatch(HttpServletRequest request, String rulesetName, String ruleName)
          Dispatch a RuleEvent to the Event Service.
 

Method Detail

dispatch

public void dispatch(HttpServletRequest request,
                     String rulesetName,
                     String ruleName)
              throws P13nControlException
Dispatch a RuleEvent to the Event Service.

Parameters:
request - the HttpServletRequest object, cannot be null
rulesetName - The name of the rule set containing the rule
ruleName - The name of the rule
Throws:
P13nControlException - if the EventService is misconfigured or if remote exceptions are encountered while accessing the event service.

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved