code: @Override
  	public Response replaceApplicationBindings( String applicationName, String externalExportPrefix, List<String> boundApps ) {
  
  		if( this.logger.isLoggable( Level.FINE )) {
  			StringBuilder sb = new StringBuilder();
  			sb.append( "Replacing the bindings for the " );
  			sb.append( externalExportPrefix );
  			sb.append( " prefix with " );
  			sb.append( Arrays.toString( boundApps.toArray()));
  			sb.append( " in application " );
  			sb.append( applicationName );
  			sb.append( "." );
  
  			this.logger.fine( sb.toString());
  		}
  
  		String lang = lang( this.manager );
  		Response response;
  		try {
  			ManagedApplication ma = this.manager.applicationMngr().findManagedApplicationByName( applicationName );
  			if( ma == null ) {
  				response = RestServicesUtils.handleError(
  						Status.NOT_FOUND,
  						new RestError( ErrorCode.REST_INEXISTING, application( applicationName )),
  						lang ).build();
  
  			} else {
  				Set<String> apps = new TreeSet<> ();
  				if( boundApps != null )
  					apps.addAll( boundApps );
  
  				this.manager.applicationMngr().replaceApplicationBindings( ma, externalExportPrefix, apps );
  				response = Response.ok().build();
  			}
  
  		} catch( UnauthorizedActionException | IOException e ) {
  			response = RestServicesUtils.handleError(
  					Status.FORBIDDEN,
  					new RestError( ErrorCode.REST_UNDETAILED_ERROR, e ),
  					lang ).build();
  		}
  
  		return response;
  	}
docs: /*
  (non-Javadoc)
  @see net.roboconf.dm.rest.services.internal.resources.IApplicationResource
  #replaceApplicationBindings(java.lang.String, java.lang.String, java.util.List)