Sorry, I meant, the boot strapper configure the container. On Wed, Aug 19, 2009 at 10:58 AM, Ayende Rahien <[email protected]> wrote:
> The problem is that the boot strapper will _configure_ the host. > > > On Thu, Jul 9, 2009 at 7:00 AM, Vadim Kantorov <[email protected]>wrote: > >> >> I consider having a kind of IDatabaseConfiguation which in production >> just builds a session factory against the production database and in >> testing it would export the schema of the database and change the >> database to the testing one. So far so good :) >> >> I've got my bootstrapper which uses the session factory in order to >> register a kind of singleton in the container. >> I would like to inject the test database configuration to make it >> happen. >> >> Unforunately I've found that bootstrappers are created just by calling >> Activator.CreateInstance. Found no way to provide your own >> bootstrapper instance into the host. >> >> Resolving bootstrapper type from a container or providing a way to >> inject a bootstrapper instance into the host seem to be the solutions. >> >> Any considerations? >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" 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/rhino-tools-dev?hl=en -~----------~----~----~----~------~----~------~--~---
