/** * Add a registrar for the specified protocol identifier. * @param protocolIdentifier The protocol identifier. * @param registrar The registrar. */ public void addRegistrar(final String protocolIdentifier, final Registrar registrar) { synchronized(registrarMap) { registrarMap.put(protocolIdentifier, registrar) ; } registrar.install(protocolIdentifier) ; }
/** * Add a registrar for the specified protocol identifier. * @param protocolIdentifier The protocol identifier. * @param registrar The registrar. */ public void addRegistrar(final String protocolIdentifier, final Registrar registrar) { synchronized(registrarMap) { registrarMap.put(protocolIdentifier, registrar) ; } registrar.install(protocolIdentifier) ; }
/** * Add a registrar for the specified protocol identifier. * @param protocolIdentifier The protocol identifier. * @param registrar The registrar. */ public void addRegistrar(final String protocolIdentifier, final Registrar registrar) { synchronized(registrarMap) { registrarMap.put(protocolIdentifier, registrar) ; } registrar.install(protocolIdentifier) ; }
/** * Add a registrar for the specified protocol identifier. * @param protocolIdentifier The protocol identifier. * @param registrar The registrar. */ public void addRegistrar(final String protocolIdentifier, final Registrar registrar) { synchronized(registrarMap) { registrarMap.put(protocolIdentifier, registrar) ; } registrar.install(protocolIdentifier) ; }