Results 1 to 3 of 3

Thread: One more constructor for ApplicationLauncher?

  1. #1
    Join Date
    Oct 2004
    Location
    Herndon, VA, US
    Posts
    648

    Default One more constructor for ApplicationLauncher?

    Would it make sense to add another constructor for ApplicationLauncher along the line
    Code:
    ApplicationLauncher(ApplicationContext startupContext, ApplicationContext context)
    The reason being that an application might want to load the main context from filesystem, yet still want to benefit from fast loading the startup context.

    Cheers.
    --Jing Xue

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, FL
    Posts
    2,794

    Default

    But the contexts -- at least the bean defintions -- for both startup and use are all ready loaded at that point, right?
    Keith Donald
    Core Spring Development Team

  3. #3
    Join Date
    Oct 2004
    Location
    Herndon, VA, US
    Posts
    648

    Default

    But the contexts -- at least the bean defintions -- for both startup and use are all ready loaded at that point, right?
    That's one damn good point, isn't it? :oops:

    How about this then:

    Code:
    ApplicationLauncher(ApplicationContext startupContext, ContextProvider provider)
    where ContextProvider would be a callback that actually loads the context?

    Thanks.
    --Jing Xue

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •