MAN page from OpenSuSE perl-OpenXPKI-Core-0.9.1389-6.362.CS.i586.rpm
OpenXPKI::Server::Notification::Dispatcher
Section: User Contributed Perl Documentation (3)
Updated: 2008-09-30
Index Name
OpenXPKI::Server::Notification::Dispatcher - A notification dispatcher
Description
This class implements the notification dispatcher. An object of thisclass is instantiated during server initialzation and available fromthe server context as
CTX('notification'). Typically, workflowactivities call
CTX('notification')->
notify(), which then uses thisclass to dispatch the notifications to all configured notifiers forthe given
PKI realm.
Functions
- *
- START
Is the constructor. Goes through the configuration and initializesall configured notifiers. They are saved in the attributes %notifier_of,which is a hashref that contains an array of notifier objects for eachPKI realm.
- *
- notify
Using the named parameters MESSAGE and WORKFLOW, it dispatches thenotification to all notifiers in the current PKI realm.
- *
- __get_notifier_type
Gets the notifier type from the configuration for a given notifiername.
- *
- get_url_for_ticket
Dispatches the get_url_for_ticket call to all configured notifiersto retrieve the URL for a given ticket. Returns a hash referenceof notifiers and their respective URLs. Called by the correspondingAPI method. Returns the empty string for notifiers that do nothave the get_url_for_ticket method implemented.
Index
- Name
- Description
- Functions
This document was created byman2html,using the manual pages.