admin@glassfish.java.net

remove AMX 'PropertiesAccess' and 'SystemPropertiesAccess' interfaces?

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 07 Apr 2008 16:59:26 -0700

Enough is changing in AMX that I would rather not carry along the
cruft...

In general, AMX in V3 derives its structure from the (now arbitrary)
domain.xml.

The existing PropertiesAccess and SystemPropertiesAccess interfaces no
longer need to exist, except perhaps as barely more than marker
interfaces that contain only the following:

getPropertyConfigMap();

All other methods operation on PropertyConfig MBeans which are now 1st-
class MBeans eg getName() and getValue(). This is much cleaner (no
special-case code), and more powerful too (a listener can listen for
changes on properties).

I will proceed unless objections are voiced.

Lloyd

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc