Hi Nils, Thanks for your reply. Components defined in the module descriptor are instantiated at a very early stage in the startup. I want to register a component later on in the chain, for example in the startup of a module. Second, components in a module descriptor are instantiated by Magnolia. I already have an instance and like I mentioned, I want that specific instance to be registered as a component.
Rgds, Erik. On Tue, Nov 5, 2013 at 1:42 AM, Nils Breunese <[email protected]> wrote: > Erik Alphenaar <[email protected]> wrote: > > > What would be the way to add an instance of a component at runtime (say > start of a module) to Guice ? I tried an implementation of > AbstractGuiceComponentConfigurer, but these components are configured > before the modules are started.. > > You can add an entry for it in a Magnolia module descriptor: > > > http://documentation.magnolia-cms.com/display/DOCS/Module+management#Modulemanagement-Definingcomponents > > Nils. > > ---------------------------------------------------------------- > For list details, see > http://www.magnolia-cms.com/community/mailing-lists.html > Alternatively, use our forums: http://forum.magnolia-cms.com/ > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
