thanx Spike.

I'm looking at it now, thanx. it's a start...

I'm trying to script creating and managing lots of DSN's (really a batch
job) and this looks like the only way to do it. 

any ideas? pointers?

thanx
barry.b


-----Original Message-----
From: Spike [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 June 2003 3:10 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: cf.Factory (coldfusion.server.ServiceFactory)


What sort of stuff do you want to know?

It's relatively easy to use Java to figure out the details of what you 
can do with the various factory services.

e.g.

<cfscript>
  factory = createObject('java','coldfusion.server.ServiceFactory');
</cfscript>
<cfoutput>
<cfloop list="#structKeyList(factory)#" index="i">
#factory[i].getClass().getname()#<br>
</cfloop>
</cfoutput>

That will give you a list of the Java classes for each of the factory 
services. You can then use Java reflection to find out more about the class.

I wrote a Java class dumping utilitly for CFMX which is available here:

http://www.spike.org.uk/index.cfm?objectid=58DC386D-22AB-07A9-6B43A9E80357D6
C7&startDate=06_2003

Spike

Beattie, Barry wrote:

>Hi all
>
>anyone know of more documentation (and examples?) for cf.Factory other than

>
>http://www1.oli.tudelft.nl/jochemd/index.cfm?PageID=10
>
>??? It's the only link I can find on it
>
>thanx
>barry.b
>
>---
>You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
>To unsubscribe send a blank email to
[EMAIL PROTECTED]
>
>MX Downunder AsiaPac DevCon - http://mxdu.com/
>
>
>  
>

-- 
Stephen Milligan
Consultant for hire
http://www.spike.org.uk



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to