> Does anyone know how to call a static method as opposed to calling
> the constructor to instantiate an object using CFOBJECT? I've got a
> Singleton object that I am trying to implement, but when you use
> CFOBJECT with the CREATE action, it attempts to instantiate
> the object, and throws an exception due to a private constructor.
> Any help would be great. Thanks.
I suspect that you simply can't do that directly from CFOBJECT. You might
consider writing a wrapper object.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists