Announcement Announcement Module
Collapse
No announcement yet.
Unregistering Beans programmatically Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unregistering Beans programmatically

    Hi all,

    1.) I want to unregister a Bean during Runtime. Is this possible :?:

    2.) The next thing is to change a Bean during runtime programmatically
    that means changing the reference behind the bean :?: e.g. something like redeployment :!:

    Thanks in advance,

    Andreas

  • #2
    1) AFAIK unregistering beans is not possible

    2) Maybe HotSwappableTargetSource could be useful for you

    Regards,
    Andreas

    Comment


    • #3
      Andreas,

      thank you for your reply.

      2.) This problem is solved. I just override a registered bean with the same name.
      1.) I need to remove it or probably i have to write my own BeanFactory ?

      Any other ideas?

      Best rgds,

      Andreas

      Comment

      Working...
      X