A DESCRIPTION OF THE REQUEST :
Currently the Model MBean persistPolicy values are:
I'd like the new value "OnUnregister" to be added. This policy would specify that the store operation would be triggered once the MBean is unregistered from the MBenServer. I know one can implement this functionality by overriding the MBeanRegistration pre/postDeregister method to trigger the store. However it seems that for consistency purposes and ease of use this should be added as one of the Model MBean persitPolicy.
There are a lot of cases, where one only wants to persist the MBean state once at the time it is no longer used.
EXPECTED VERSUS ACTUAL BEHAVIOR :
Persist the MBean state by triggering its store method upon MBean unregistration.
This policy does not currently exist.
CUSTOMER SUBMITTED WORKAROUND :
Use pre/postDeregister methods to trigger persistence.
###@###.### 10/7/04 08:19 GMT