Luis Majano Forums Notification: Post to Session Objects

Title: RE: Session Objects
Thread: Session Objects
Forum: Discussions
Conference: ColdBox
User: lmajano

HI Anabel,

It seems to me, that your model needs to change according to
something programattically. Would this happen for certain users or for certain

I you are dealing with something programmaticaly, then you won't be
able to change the coldspring bean declarations. However, I can see some
solutions. You can have several coldspring declarations and load the appropriate
one depending on your logic. The ioc plugin can be configured on the fly and via
the config.xml. So you have a choice there. Also, you could configure the
objects using setter injection as part of your payload for a given transaction.
Maybe encapsulate it on prehandlers or pre process. But since I have no clue
what your end goal is, or your logic for having differente datasources, it is
kinda hard to tell.

Can you explain further