On Wednesday 10 Sep 2008, denstar wrote:
> > Well, if you are wanting to hook into Reactors generation mechanism, you
> > can do that inside the Reactor classes, which have access to the
> > _getConfig() method anywhere (or a local subset).
>
> Don't you still need to know a class name?  As in an object name?  

To do what ?
Add some more XSLT templates to Reactor ?
The ReactorCompiler CFC just (re)parses the XML config file to get its list.

> if I want to get a list of objects from reactor, how can I do that
> using only the reactor factory?  Or is there something I can call from
> the reactor factory that isn't an object, perhaps?

You can't, you'd use a separate config object, the same one that's passed into 
the Reactor factory.

> much other than, I was looking for something not-too-complicated, that
> would just plain work, basically using the reactorFactory alone.  

As I said, making that method public does that.

> seems to make sense to me to have the configuration for the reactor
> factory be accessible from the reactor factory.  I'm not sure it
> breaks encapsulation, but this is exactly what I wanted to know. 

Why should anything outside Reactor care about the details of how (a) Reactor 
is configured ?

> Reactor-specific functions wouldn't belong in it?

Well, yes, assuming I wanted to build an ORM-indepdant data access layer, yes.
/me looks quizzical
There methods on ReactorConfig bean define an interface, yes, but it doesn't 
have to be a Reactor class behind that bean...

> My thinking is, that if Hibernate does it, and does it in spades, it's
> not too bad.  You should /see/ what you can do with just the hibernate
> version of the ReactorFactory!

So wait for CF9 then...

> Can one factory have more than one configuration object, perhaps?  Is
> that how multiple DSNs are getting handled now?  That might make more

I have a Reactor for each DSN.

> And thanks for the convo, I value your input.

Not a prob., good to thing these things out where every(any)one can chip in.

-- 
Tom Chiverton

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


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

Reply via email to