Announcement Announcement Module
Collapse
No announcement yet.
Dynamic Bean Properties Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dynamic Bean Properties

    I have a bean that has some properties whose values are set with the PropertyPlaceholderConfigurer.

    I'd like to be able to change the file values and have the beans automatically updated without having to restart the AppServer (Glassfish).

    anyone have any suggestions? I've made them MBeans and can do it from JConsole, but I'd really like to have it done when the Admins change the properties file.

    Thanks for any help.

  • #2
    Feel free to use a forum search - Reloading ApplicationContext created by ContextLoaderListener

    Comment


    • #3
      "I've made them MBeans and can do it from JConsole, but I'd really like to have it done when the Admins change the properties file." - Since the post you gave me didn't answer my question, I'm assuming that no one has any way to do this other than JMX? Or writing code to refresh the objects and reload the applictaionContext...

      Comment


      • #4
        Just so I'm clear:

        I want the object to have the properties updated with the setter methods when the properties file has been updated.

        Any suggestions would be very helpful.

        Comment

        Working...
        X