@Override public ContainerSnapshot newReference(URI uri) { String name = bindingSetSelector.select(uri); if (name == null) { throw new NoBindingSetSelectedException(uri); } BindingSet<RequestHandler> serverBindings = serverBindings(name); BindingSet<RequestHandler> clientBindings = clientBindings(name); if (serverBindings == null || clientBindings == null) { throw new BindingSetNotFoundException(name); } return new ContainerSnapshot(this, serverBindings, clientBindings); }