/**
  * Copies the properties of the source service into this instance.
  *
  * @param source Source service from which to copy properties.
  */
 public void copyFrom(final RegisteredService source) {
   this.setId(source.getId());
   this.setProxyPolicy(source.getProxyPolicy());
   this.setDescription(source.getDescription());
   this.setName(source.getName());
   this.setServiceId(source.getServiceId());
   this.setTheme(source.getTheme());
   this.setEvaluationOrder(source.getEvaluationOrder());
   this.setUsernameAttributeProvider(source.getUsernameAttributeProvider());
   this.setLogoutType(source.getLogoutType());
   this.setAttributeReleasePolicy(source.getAttributeReleasePolicy());
   this.setAccessStrategy(source.getAccessStrategy());
   this.setLogo(source.getLogo());
   this.setLogoutUrl(source.getLogoutUrl());
   this.setPublicKey(source.getPublicKey());
   this.setRequiredHandlers(source.getRequiredHandlers());
   this.setProperties(source.getProperties());
 }