Mark,

Care to comment on why you're doing this? I'm curious ... :)

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Behalf Of Mark Mandel
>Sent: Tuesday, October 18, 2005 3:55 AM
>To: [email protected]
>Subject: Re: [CFCDev] Easy way to check if oneCFC == twoCFC?
>
>
>Thanks for the input - but unfortunatley it doesn't seem to help.
>
>It seems that using the System.identityHashCode() is the only way to do it.
>
>I was looking for something more elegent, but this looks to be it!
>
>Regards,
>
>Mark
>
>On 18/10/05, Fabio Terracini <[EMAIL PROTECTED]> wrote:
>> I'm not sure how to verify if they are the _same instance_, but you can
>> verify if they are an _instance of the same CFC_ by checking
>their metadata.
>>
>> getMetaData(myCFC1).name EQ getMetaData(myCFC2).name
>>
>> The name will be the fully qualified path: org.cfczone.listserv.Component
>>
>> []s
>> Fabio Terracini
>
>--
>E: [EMAIL PROTECTED]
>W: www.compoundtheory.com
>ICQ: 3094740
>
>
>----------------------------------------------------------
>You are subscribed to cfcdev. To unsubscribe, send an email to
>[email protected] with the words 'unsubscribe cfcdev' as the
>subject of the email.
>
>CFCDev is run by CFCZone (www.cfczone.org) and supported by
>CFXHosting (www.cfxhosting.com).
>
>CFCDev is supported by New Atlanta, makers of BlueDragon
>http://www.newatlanta.com/products/bluedragon/index.cfm
>
>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' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

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


Reply via email to