/** * Select a named binary store for the given hint * * @param hint a hint to a binary store; possibly null * @return a named BinaryStore from the hint, or the default store */ private BinaryStore selectBinaryStore(String hint) { BinaryStore namedBinaryStore = null; if (hint != null) { logger.trace("Selecting named binary store for hint: " + hint); namedBinaryStore = namedStores.get(hint); } if (namedBinaryStore == null) { namedBinaryStore = getDefaultBinaryStore(); } logger.trace("Selected binary store: " + namedBinaryStore.toString()); return namedBinaryStore; }