Thanks Byron,

I wasn't wanting my utility class to inherit my base class, I am wanting to
inject the utility class into the base class. I'm trying to get away from
explicitly defining the utility class from within the base class. Since the
base class is not called directly, I don't know how to pass the utility
class in as a required argument during initialization.

On Fri, Feb 6, 2015 at 12:11 PM, Byron Mann <[email protected]> wrote:

>
> Think you might want something like this in your base cfc? I think you'd
> not want the UtilClass to inherit the base class however, or this would
> lead to a circular reference and probably kill the app.
>
> component name='baseClass' {
>
>  variables.utilClass = new UtilClass();
>
> }
>
>
>

-- 

  [image: profile picture]  *Dean Lawrence*
*President*
Internet Data Technology
*Phone:* 888-438-4381 x701
*Web:* www.idatatech.com
*Email:* [email protected]
  Programming | Database | Consulting | Training


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360063
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to