-
1. Re: mbean attribute parameterization
joelvogt Jul 26, 2002 5:51 AM (in response to kklein)Well if jetty can do It I can't imagine it not working for you
-
2. Re: mbean attribute parameterization
jules Aug 2, 2002 7:38 PM (in response to kklein)not that I am aware of....
Jules -
3. Re: mbean attribute parameterization
davidjencks Aug 2, 2002 9:34 PM (in response to kklein)AFAIK the jetty attribute you show must have type Element, and parse the contents itself.
Can you be a little more specific about the functionality you want? -
4. Re: mbean attribute parameterization
jules Aug 3, 2002 9:12 PM (in response to kklein)David,
My grokking of this is that this is a guy coming from Jetty-world, where the XML configuration is just Java with XML syntax, to the JBoss world where we are more restrained.
Jetty let's you do stuff like :
Which will look for a setPort() method on the current object and call it with the result of System.getProperty("jetty.port"), or if that is null "8080".
This means that important configuration values may be externalised to the command line etc...
I am not aware of anything in our JMX config dialect that supports anything like this.
Jules -
5. Re: mbean attribute parameterization
davidjencks Aug 3, 2002 10:45 PM (in response to kklein)I am thoroughly aware that there is nothing like this in jboss mbean configuration. Basically I think this is a good thing. So far I think if you need non-constant sources for your attribute value you should be generating your *-service.xml file somehow with a tool (such as ant filtering or xsl processing) that will find and insert the values you want. I wouldn't mind reading other opinions, however.