« Back to CVP - All Versions

RE: Custom On Application Start

Combination View Flat View Tree View
Threads [ Previous | Next ]
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?

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.

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:cdicuser@developer.cisco.com]
Sent: Sunday, October 21, 2012 8:38 AM
To: cdicuser@developer.cisco.com
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.