public class EventUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
createEventTarget(LibrarySession session,
String key)
Create an event target, and register it on the domain PB
under the specified key.
|
static PublicObject |
getEventTargetObject(LibrarySession session,
String key)
Gets the event target object from a specified domain property key.
|
static void |
postEvent(LibrarySession session,
String key)
Post an event on a "event target" object, used by alert agents.
|
public static PublicObject getEventTargetObject(LibrarySession session, String key) throws IfsException
session
- the session contextkey
- the Domain property bundle key under which the
event target obejct is registeredIfsException
- if the operation failspublic static void postEvent(LibrarySession session, String key) throws IfsException
session
- the session contextkey
- the Domain property bundle key under which the
event target object is registeredIfsException
- if the operation failspublic static void createEventTarget(LibrarySession session, String key) throws IfsException
session
- the session contextkey
- the Domain property bundle key under which the
event target object is registeredIfsException
- if the operation failsCopyright © 2023. All rights reserved.