Interesting question. I hadn't realized that.
Injected values are always resolved to the actual value.
It's not clear to me what the change event should contain.
Lloyd
On Oct 8, 2009, at 3:45 PM, Tim Quinn wrote:
> If the user changes a config value (I tried using the admin console)
> that contains a token (such as ${com.sun.aas.instanceRoot}) then the
> event delivered to the "change" method returns the untranslated old
> and new values, still containing the tokens.
>
> Maybe this has been discussed before and I've forgotten... Is there
> something the "change" method can do to translate the values? It
> seems that the injected configuration object has already been
> updated with the translated new value. Is that expected and reliable?
> Thanks.
>
> - Tim
Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team