Cisco Cisco Unified Customer Voice Portal 11.0(1) User Guide

Page of 156
C
HAPTER 
2:
 
Unified CVP
 
C
OMPONENTS IN 
D
ETAIL
 
 
U
SER 
G
UIDE FOR 
C
ISCO 
U
NIFIED 
CVP
 
VXML
 
S
ERVER 
 
 
 
AND 
C
ISCO 
U
NIFIED 
C
ALL 
S
TUDIO
 
 
 
 
35 
plugins, such as adding new output formats to play the information in another language. For 
example, a plugin can define a new output format for the Unified CVP Date Say It Smart plugin 
that reads back dates in Spanish. 
Refer to the Programming Guide for Cisco Unified CVP VXML Server and Cisco Unified Call 
Studio for a full description of the process of building custom Say It Smart plugins. 
Start and End of Application Actions 
Unified CVP provides mechanisms to execute some code when an application is launched or 
shut down. A start of application action is run when the VXML Server web application archive 
(WAR) starts up (which occurs when the application server first starts up or the application 
server reloads the WAR), or the application is updated. An end of application action is run when 
the application is updated, released, or the web application is shut down (which occurs if the 
application server reloads or shuts down the web application or the application server itself is 
shut down). 
The purpose of the start of application action is typically to set up global data or application data 
that would be accessed by components within the callflow. Since global and application data’s 
lifetime is the lifetime of the application and they can contain Java objects, the start of 
application action could even set up persistent database connections or other communications to 
external systems that would remain connected as long as the application were running. Note that 
should an error occur within the start of application class, the application deployment will 
continue unchanged. The designer can specify that an error in a particular start of application 
class should stop the application deployment. This would be done if the class performs 
mandatory tasks that are necessary for the application to run correctly. 
The purpose of the end of application action would be to clean up any data, database 
connections, etc. that would no longer be needed once the application is shut down. Note that the 
end of application action is called even when the application is updated because the update may 
have changed the data that is needed by the application. 
 
Every application deployed on VXML Server has the ability to define any number of start and 
end of application actions that are executed in the order in which they appear in the application 
settings.  
Loggers 
The act of logging information about callers to the system is performed by loggers. An 
application can reference any number of loggers that “listen” for logging events that occur. 
These events range from events triggered by a call, such as a caller entering an element or 
activating a hotlink to administration events such as an application being updated to errors that 
may have been encountered. Loggers can take the information on these events and do whatever