@Override
    public Protocol getProtocol(Utf8Array name) {
        return protocolRepository.getProtocol(name.toString());
    }
<p>Adds a protocol to the internal repository of protocols, replacing any
previous instance of the protocol and clearing the associated routing
policy cache.</p>

@param protocol The protocol to add.
messagebus/src/main/java/com/yahoo/messagebus/MessageBus.java