This document was generated from CDN thread
Created by: null on 30-06-2005 03:56:11 PM
Hi. I am implementing our application callflow classes using packages. Is there a way to define an "import" package so that references to element classes within Audium do not need to be fully specfied?
Example: My element classes reside in the package com.yyy.xxx, so currently in each Element Configuration, I need to specify the class as com.yyy.xxx.Class1, and com.yyy.xxx.Class2, etc...
In general, are packages not a good idea for the Audium callflow classes? Are there any gotchas when using packages that I may encounter later on?
Thanks,
Paul
Subject: RE: Question on Java packages and referencing Classes from Audiu
Replied by: Vance Vagell on 30-06-2005 04:17:43 PM
Hi Paul,
If you create your custom classes within packages, the class names will need to be fully qualified (i.e. include the package name) in Audium Builder for Studio.
There are no hidden surprises regarding packages; in fact, it is a Java best practice to use packages to organize your custom code. It will make things easier as your project grows in size and complexity.
You may wish to take a look at for more information about the benefits gained by using them.
Regards,
Vance
Subject: RE: Question on Java packages and referencing Classes from Audiu
Replied by: null on 30-06-2005 04:20:18 PM
Hi Vance. Yes, I fully agree on the benefit of packages and use them all the time. I just wanted to know of any tricks for referencing them from Audium, or any gotchas in using them. You've answered my questions!
Thanks,
Paul