Announcement Announcement Module
Collapse
No announcement yet.
Add new bean to ctx programatically Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add new bean to ctx programatically

    There is any way to add a new bean to the ApplicationContext by code? like this

    ApplicationContext ctx = ....
    ctx.put("new-bean", aBean);

    Is this possible? i cant find any method for that, and any ifz.

    Regards
    Santiago.-

  • #2
    I'm pretty sure there have been several threads talking about this before, have you tried having a search.
    Last edited by karldmoore; Aug 27th, 2007, 02:35 PM.

    Comment


    • #3
      can't find anything....

      hi,
      i can't find anything for programaticaly creating bean.
      did u got anything?

      Please if yes then post it here....

      thanx.

      Comment

      Working...
      X