2 Replies Latest reply on May 15, 2012 1:03 PM by somostetoikilato

    System Properties Service

    somostetoikilato

      Hi,

       

      I am using the jboss:type=Service,name=SystemProperties (JBoss 5) to provide custom properties for my enterprise

      application. I made one of my MBeans dependent of this service and everytime when I add a new name-value key to the

      <attribute name="Properties"> tag, this apears in my application. Fine.

       

      But, what about deleting an existent name-value key from this tag? It remains in the list of all system properties. It should

      delete it from the final list, isn't? Or am I wrong?

       

      Any suggestion would help. Thank you.

       

      SK

        • 1. Re: System Properties Service
          sunil_patel

          It is keeping in memory but what about making it blank string and checking it in code to ignore if it is zero length string?

          • 2. Re: System Properties Service
            somostetoikilato

            Hi Hitesh,

             

            I think since it is capable to register new keys should be able to unregister them. At least the those that are inside of the <attribute name="Properties"> tag. And I did not mention the loaded files by the <attribute name="URLList"> tag. You can modify the, you can stay in head but still nothing. But anyway, good workaround.

             

            Thank you for your reply.

             

            SK