1 Reply Latest reply on Jan 23, 2003 9:47 PM by adrian.brock

    global config properties

    guillaume

      I want some properties to be shared accross mbeans(global).

      How should I do that?
      -create my PropertyMBean
      or
      -use the SystemPropertiesService
      or
      -?????


      Thank you.

        • 1. Re: global config properties

          Either will work.
          But what happens when you want to override
          a property for a specific bean.

          JBoss-3.0.5+ allows you specify system properties
          in the *-service.xml

          So you can set the system property to a default,
          then use it for an attribute
          ${the.property}

          If you need to not use the default, just change
          the attribute to something more concrete.
          Something Specific

          Global defaults, like global variables have drawbacks.

          Regards,
          Adrian