This worked. It seems inconsistent with the way we do things normally,
though. Thanks a lot for the help.


On 12/31/06, Brian Kotek <[EMAIL PROTECTED]> wrote:

Nice, Qasim. I didn't even know Reactor had such a method. I tested it and
it works just fine. In the Gateway you can do something like:


    <cffunction name="getUtility" returntype="any" access="private"
output="false">
        <cfif not StructKeyExists(variables, 'utility')>
            <cfset variables.utility = _getBean('utility') />
        </cfif>
        <cfreturn variables.utility />
    </cffunction>


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to