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

All Superinterfaces
Serializable

@ControlInterface
public interface RuleEventControl
extends Serializable

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.


Method Summary
 void dispatch(javax.servlet.http.HttpServletRequest request, String rulesetName, String ruleName)
          Dispatch a RuleEvent to the Event Service.
 

Method Detail

dispatch

void dispatch(javax.servlet.http.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.


Copyright © 2011, Oracle. All rights reserved.