On Wed, Jul 2, 2008 at 9:28 AM, Marc Esher <[EMAIL PROTECTED]> wrote:
> Now, just so I'm clear, what you're describing is a relationship where
> the "default" or "main" dao HAS A map of special DAOs keyed on dsn,
> and when I call dao.read(), it's going to first look in that map for a
> special dao, and if so invoke read on that dao, and if not, invoke the
> normal read? Correct?

Well, I'd have a default DAO and a set of special DAOs and the DAO
used in the app would really be a dynamic proxy that selected the
appropriate special DAO or the default DAO on demand. Does that make
sense?

When you have no "special" cases, the DAO used in the app would be the
default one already.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to