Cisco Cisco Unified Customer Voice Portal 11.0(1) Developer's Guide
C
HAPTER
13:
L
OGGERS
P
ROGRAMMING
G
UIDE FOR
C
ISCO
U
NIFIED
CVP
VXML
S
ERVER
AND
C
ISCO
U
NIFIED
C
ALL
S
TUDIO
R
ELEASE
4.1(1)
70
Figure 13-1
Notes on events:
•
GlobalEvent and ApplicationEvent
both extend the generic event class
LoggerEvent
. In
this structure, new event types in the future can be added without affecting the existing class
hierarchy.
hierarchy.
•
All events have an ID, obtained by calling the
getID
method.
How Loggers Work
An application designer can define any number of loggers to use in an application and an
administrator can define any number of global loggers to deploy to Unified CVP VXML Server.
Logger instances are defined with unique names and loggers can be built to support
configurations. Multiple instances of the same logger class can also be defined, with a different
configuration for each. Unified CVP VXML Server will then create a separate instance of the
logger class for each instance referenced in the application’s settings and in the server
configuration. Application logger instances are created when the individual applications are
initialized and are maintained for the lifetime of the application. All events for the application,
both application-level events as well as call-level events, are handled by this single instance.
administrator can define any number of global loggers to deploy to Unified CVP VXML Server.
Logger instances are defined with unique names and loggers can be built to support
configurations. Multiple instances of the same logger class can also be defined, with a different
configuration for each. Unified CVP VXML Server will then create a separate instance of the
logger class for each instance referenced in the application’s settings and in the server
configuration. Application logger instances are created when the individual applications are
initialized and are maintained for the lifetime of the application. All events for the application,
both application-level events as well as call-level events, are handled by this single instance.