<CFIF IsDefined("server.BlueDragon")>
        Search the BD lookup chain
<CFELSEIF IsDefined("server.ColdFusion")>
        <CFIF Left(server.ColdFusion.ProductVersion, 3) IS "6,1">
                Search the CF 6.1 lookup chain here
        <CFELSEIF Left(server.ColdFusion.ProductVersion, 3) IS "6,0">
                Search the CF 6.0 lookup chain here
        <CFELSE ...>
                ...
        </CFIF>
<CFELSE>
        Default lookup case here
</CFIF>

You can even create a CFCReflector component and extend it for each server
if need be.

Roland.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Matt Liotta
Sent: Tuesday, June 01, 2004 3:56 PM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] CFC modeling

How do you know what CF application server is being used. It could be 
CFMX, CFMX 6.1, Blackstone, BlueDragon, etc. Each one has their own 
internal APIs for accessing that information that is not documented or 
supported. Further, many developers don't even install a CF application 
server on the same machine as they develop code. What do you do in that 
case?

-Matt


On Jun 1, 2004, at 3:45 PM, Roland Collins wrote:

> Very cool stuff :)
>
>
> I think you'd need to use the CF RuntimeServices or the Blackstone
> equivalent to determine and then use the same lookup chain as they 
> would.
>
> Roland
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf
> Of Matt Liotta
> Sent: Tuesday, June 01, 2004 3:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [CFCDev] CFC modeling
>
> Well... several limitations. When a CFC has an extends attribute, how
> do you find the CFC associated with it since the path is only available
> at runtime from CF. Same problem applies to methods that return or
> accept as a parameter a CFC.
>
> ...
>
> -Matt
>
>
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
> in the message of the email.
>
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.com).
>
> An archive of the CFCDev list is available at 
> www.mail-archive.com/[EMAIL PROTECTED]
>

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to