Loading registries in two different places

8 views
Skip to first unread message

Mark Nijhof

unread,
Oct 8, 2009, 7:48:18 PM10/8/09
to structure...@googlegroups.com
Hi,

Is there a good way of loading differerent registries in different
locations? F.ex. I have a framework that has it's own boot strapper
which calls Initialize and adds its own registries, but the
application using this framework also does this for her own
dependencies, how can I have both of them in the container. Currently
to me it looks like the second call will re-initialize the container.

Does this make sense?

-Mark

Jeremy D. Miller

unread,
Oct 8, 2009, 8:21:06 PM10/8/09
to structure...@googlegroups.com
Can you just manually combine the two registry lists in one Bootstrapper?  Can you edit either piece of code?

You might use Initialize() for the first one, then Configure() which is additive for the second.
 
Jeremy D. Miller
The Shade Tree Developer
jeremy...@yahoo.com



From: Mark Nijhof <mark....@gmail.com>
To: structure...@googlegroups.com
Sent: Thu, October 8, 2009 6:48:18 PM
Subject: [sm-users] Loading registries in two different places

Mark Nijhof

unread,
Oct 12, 2009, 5:12:36 AM10/12/09
to structure...@googlegroups.com
I can alter both pieces of code, but I wanted to provide a one step
initialization for a little internal framework we use in multiple
projects. I could use Configure in that and have people always boot
strap it after Initializing their own dependencies.

Thanks.

-Mark
Reply all
Reply to author
Forward
0 new messages