|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ControlInterface
public interface GenericEventControl
Control from which non-tracking events may be configured, generated, and dispatched to the event service. A tracked event is one which may be persisted to the Portal BT_EVENT database tables. So these events are generally not persisted, unless you have implemented your own event listener and persistence classes. Refer to the Portal documentation for details on how to configure the Event Service.
The Event object is created when this control is instantiated, with the name of the event type specified as the control property. You may then add additional attributes to the event with these control methods, and dispatch the event once (if) the event has been configured. It is not required to configure the event with additional attributes before dispatching it.
This control is NOT to be used with JWS, as it requires the HttpServletRequest object, which is unavailable from a JWS.
Control properties:
Event
, EventService
Nested Class Summary | |
---|---|
static interface |
GenericEventControl.GenericEventParams Define the properties for this control. |
Method Summary | |
---|---|
void |
dispatch() Create and dispatch a non-trackable event. |
Object |
getAttribute(String theKey) Get named event attribute. |
Iterator |
getAttributeNames() Return the attribute names that have been set on this event. |
Object |
removeAttribute(String theKey) Remove the attribute. |
void |
setAttribute(String theKey, Serializable theValue) Set a named event attribute. |
Method Detail |
---|
void setAttribute(String theKey, Serializable theValue)
theKey
- the attribute name. Can not be null.theValue
- the value of the attribute.NullPointerException
- if theKey is null.Object removeAttribute(String theKey)
theKey
- the attribute name.Object getAttribute(String theKey)
Iterator getAttributeNames()
void dispatch() throws P13nControlException
P13nControlException
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.