He shall be appointed by the justices of the supreme judicial court, and hold office at their pleasure.