is there a faster way to retrieve a JVM Parameter in a Java Bean?
I've read about this here:
RuntimeMXBean runtimeMxBean = ManagementFactory.getRuntimeMXBean(); List arguments = runtimeMxBean.getInputArguments();
but then you have to cycle on all the parameters...I think it's not so good.
For example in log4j properties you can retrieve the parameter using this notation: ${MY_JVM_PARAMETER}. Is there a similar think available in Java code?
Thanks all!