/** * Initialize disabled flag. */ private void init() { if (!initialized) { initialized = true; disabled = checkDisabled(); } }
/** * Call to update the disabled status for the bean. If the status has changed, all subscribing * containers will be notified. */ protected void updateDisabled() { initialized = true; setDisabled(checkDisabled()); }