code: public void updateConfig(AddressTemplate addressTemplate, ModelNode currentConfig) {
  
          String configName = null;
          // update the editor endpoint/client configuration properties
          switch (addressTemplate.getResourceType()) {
              case WebServicesStore.ENDPOINT_CONFIG:
                  endpointConfigEditor.updateDetail(currentConfig);
                  configName = addressTemplate.getTemplate().substring(addressTemplate.getTemplate().lastIndexOf("=") + 1);
                  break;
              case WebServicesStore.CLIENT_CONFIG:
                  clientConfigEditor.updateDetail(currentConfig);
                  configName = addressTemplate.getTemplate().substring(addressTemplate.getTemplate().lastIndexOf("=") + 1);
                  break;
              default:
                  // when some handlers actions kicks in, need to strip the pre/post-handlers at the end
                  addressTemplate = addressTemplate.subTemplate(2, 3);
                  configName = addressTemplate.getTemplate().substring(addressTemplate.getTemplate().lastIndexOf("=") + 1);
                  break;
          }
  
          // update the editor endpoint/client pre/post handlers
          switch (addressTemplate.getResourceType()) {
              case WebServicesStore.ENDPOINT_CONFIG:
                  preHandlerEndpointEditor.updateMaster(configName, currentConfig, "pre-handler-chain");
                  postHandlerEndpointEditor.updateMaster(configName, currentConfig, "post-handler-chain");
                  break;
              case WebServicesStore.CLIENT_CONFIG:
                  preHandlerClientEditor.updateMaster(configName, currentConfig, "pre-handler-chain");
                  postHandlerClientEditor.updateMaster(configName, currentConfig, "post-handler-chain");
                  break;
          }
  
  
      }
docs: Updates the child resources for a specific endpoint/client selected, when some opearation is
  performed in the properties, pre/post handlers.