cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
58
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Anas Rabei on 21-10-2012 08:38:05 AM
This is my first time developing on CICSO CVP studio and I have a little question.
 
I am a java developer and in the CVP call studio I can put a class to run on application start using the create new application dialog.
 
My question is How can I specify the method that will be run from this class in the application start ?
 
In other words
If the class named ApplicationStart.java contains 4 methods (method1, method2, method3, and method4) which method will be executed on application start?

Subject: RE: Custom On Application Start
Replied by: ilias basha on 22-10-2012 12:57:05 AM
All application start class files are supposed to implement com.audium.server.proxy.StartApplicationInterface interface. So you will be having a onStartApplication() method to implement(this method is invoked by the framework just like other abstract methods of Decision element, Action Element etc..) from where you can direct your execution control to method1, method2 etc.. as per the requirement.

Subject: RE: New Message from Anas Rabei in Customer Voice Portal (CVP) - CVP - All
Replied by: Hemal Mehta on 22-10-2012 07:02:08 AM
You need to use single method called onStartApplication that is the execution method for the application start class.  This in turn can called other methods.  The application start class action is built by implementing the Unified CVP class StartApplicationInterface found in the com.audium.server.proxy package. This method has a single argument, an instance of ApplicationStartAPI. The method does not have a return value and should an unrecoverable error occur, the application start class will throw an AudiumException.

Hemal


From: Cisco Developer Community Forums [mailto:[email protected]]
Sent: Sunday, October 21, 2012 8:38 AM
To: [email protected]
Subject: New Message from Anas Rabei in Customer Voice Portal (CVP) - CVP - All Versions: Custom On Application Start

Anas Rabei has created a new message in the forum "CVP - All Versions": -------------------------------------------------------------- This is my first time developing on CICSO CVP studio and I have a little question.

I am a java developer and in the CVP call studio I can put a class to run on application start using the create new application dialog.

My question is How can I specify the method that will be run from this class in the application start ?

In other words
If the class named ApplicationStart.java contains 4 methods (method1, method2, method3, and method4) which method will be executed on application start?
--
To respond to this post, please click the following link: http://developer.cisco.com/web/cvp/community/-/message_boards/view_message/7907028 or simply reply to this email.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links