Cisco Cisco Unified Customer Voice Portal 10.0(1) Guía Del Usuario

Descargar
Página de 138
C
HAPTER 
3:
 
A
DMINISTRATION
 
 
U
SER 
G
UIDE FOR 
C
ISCO 
U
NIFIED 
C
ALL 
S
ERVICES
,
 
U
NIVERSAL 
E
DITION 
 
 
 
AND 
U
NIFIED 
C
ALL 
S
TUDIO
 
 
79 
To run logger methods via the JXM interface, navigate to the 
VoiceApplication/<APPNAME>/Logger/LOGGERNAME
 MBean, where 
APPNAME
 is the name of 
the application to update and 
LOGGERNAME
 is the instance name of the logger to access. Note that 
if the logger does not expose any methods that can be called by an administrator, no methods 
will appear in the Operations tag. 
No loggers shipped with Call Services exposes methods to allow runtime changes. Custom 
loggers build by developer, however, may still provide this functionality.  
Getting/Setting Global and Application Data 
Global data holds information that applications decide to share across other applications 
deployed on Call Services. Application data holds information that applications decide to share 
across all calls to the application. The Call Services JMX interface provides the ability for an 
administrator to view the contents of these variables, change their values, and even create new 
variables.  
This functionality provides an administrator direct access to live data that is being created on the 
system and can provide them some control of how applications operate. This is only possible 
when the application designers design that functionality into the applications. For example, an 
application designer for a utility company can build their application to look for the existence of 
a global data variable reporting a power outage. The administrator then creates the global data 
variable when a power outage occurs and automatically the applications will start reporting the 
power outage to callers. The administrator can then delete the global data variable to signify the 
power has been restored. While this same functionality could be achieved with a database, this is 
a simpler approach to handle predictable situations without the need to use a database.  
Global Data Access 
To access global data using the JMX interface, navigate to the 
Global/Data
 MBean. The 
Attributes tab lists all the global data variable names in an attribute named 
“AllGlobalDataNames” (the value may need to be expanded in order to see all the global data 
names). The Operations tab lists four functions that can be executed by the administrator for 
global data: 
• 
setGlobalData
 – This function allows the administrator to create a new global data variable. 
The function takes two inputs, the first being the name of the variable and the second is the 
value. Click on the button to set the global data and the result will appear in a dialog box. 
Note that if there exist global data with the same name it will be overridden. 
• 
removeGlobalData
 – This function allows the administrator to delete a global data variable. 
The function takes one input: the name of the global data variable to delete. Click on the 
button to remove the global data and the result will appear in the dialog box. 
• 
removeAllGlobalData
 – This function allows the administrator to delete all global data, 
whether it was created by the administrator or applications. Click on the button to remove all