| java.lang.Object | ||
| ↳ | com.microstrategy.web.beans.GenericEventHandler | |
| ↳ | com.microstrategy.web.beans.SysEventHandler | |
Known Indirect Subclasses
|
The SysEventHandler is the base class for all those event-handlers that can be configured through an external events.xml.
This class retrieves the event-handlers catalog from the
bean context (getEventHandlersCatalog())
and populates itself using the EventHandlerInfo for the corresponding handler-type.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | DEFAULT_CONFIG_PATH | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.beans.GenericEventHandler
| |||||||||||
From interface
com.microstrategy.web.beans.WebEventTags
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.beans.GenericEventHandler
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| SysEventHandler() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| WebEvent |
getWebEvent(int eventID)
Returns the specified
WebEvent instance which this event handler
supports. | ||||||||||
| Enumeration |
getWebEvents()
Returns an enumeration over the
WebEvent suppored by this event
handler. | ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| EventHandlersCatalog |
getCatalog()
Returns the event-handlers catalog.
| ||||||||||
| void |
initEvents(int type)
It populates this event-handler with the list of events available for the given handler-type
in the event-handlers catalog.
| ||||||||||
| void |
initEvents()
This method is called to initialize the list of events available with this event-handler. | ||||||||||
| WebEvent |
newDefaultEventInstance()
This method is called to create a concrete new instance of a WebEvent when the event-class
has not specified in the EventInfo.
| ||||||||||
| WebEvent |
newWebEvent(EventInfo info)
This method is called to create a new WebEvent and populated with the given EventInfo.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.beans.GenericEventHandler
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.microstrategy.web.beans.WebEventHandler
| |||||||||||
Returns the specified WebEvent instance which this event handler
supports.
| eventID | the event id of the WebEvent. |
|---|
Returns an enumeration over the WebEvent suppored by this event
handler. The WebEvent are returned in no particular order.
WebEvent supported.
Returns the event-handlers catalog. If the WebComponent has been associated, it obtains
the catalog from the BeanContext, otherwise it obtains the catalog directly from the
ConfigurationFilesCache
It populates this event-handler with the list of events available for the given handler-type in the event-handlers catalog.
This method is called to initialize the list of events available with this event-handler.
Since this class uses lazy initialization for its event list; this method will be always called
by the getWebEvent(RequestKeys) and the getWebEvents() methods to ensure it's available.
If the list has been initialized, it does nothing, if not it calls initEvents(int)
passing this handler's type
initEvents(int) with all the types they support.
This method is called to create a concrete new instance of a WebEvent when the event-class has not specified in the EventInfo.
This method is called to create a new WebEvent and populated with the given EventInfo.