1 Reply Latest reply on Jan 23, 2003 9:47 PM by Adrian Brock

    global config properties

    guilluame guilluame Newbie

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

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

      Thank you.

        • 1. Re: global config properties
          Adrian Brock Master

          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

          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.