コード例 #1
0
 /**
  * Stores the configuration object on the server. The server bean path is the one returned by
  * mo.getPath().
  *
  * @param mo the ManagementObject to read from the server
  */
 private void saveConfiguration(ConnectorManagementObject mo) throws AdminException {
   Log.debug("Saving configuration object " + mo.getPath());
   businessDelegate.setServerBean(mo.getPath(), mo.getObject());
   Log.info("Configuration saved.");
 }
コード例 #2
0
 /**
  * Reads the configuration object from the server. The server bean path is the one returned by
  * mo.getPath().
  *
  * @param mo the ManagementObject to read from the server
  */
 private void readConfiguration(ConnectorManagementObject mo) throws AdminException {
   Log.debug("Reading configuration object " + mo.getPath());
   mo.setObject(businessDelegate.getServerBean(mo.getPath()));
 }