The ApplicationProperties class

The ApplicationProperties class represents the properties of the environment in which the application will be run, for example, locale. It is required to create the WVR object which represents the base Blueworx Voice Response system. The ApplicationProperties class contains the following properties, each with get and set methods, as appropriate: You can create the ApplicationProperties object using the above properties as parameters, in the order above. Alternatively, you can create the object with default properties, and then set any properties you need to change according to your particular environment. For example:
public class MyVoiceApp extends WVRApplication {
	
  public void voiceMain() throws WVRException {
		
    // Create the application properties object
    ApplicationProperties appProperties = new ApplicationProperties();
		
    // Change some of the properties to match this particular environment 		
    applicationProperties.setApplicationName("app1");
    applicationProperties.setLocale(Locale.US);
    .
    .
    .
  }
  .
  .
  .
}
Note: If an application is to be run as a managed application , the ApplicationProperties are set automatically according to the entries in the configuration file default.cff, and made available by the WVRApplication.getApplicationProperties() method.

See also Setting the application environment.