break;
}
}
private void bindProvider(final Binder binder, final SpaceIndexItem item, final Key key) {
binder.bind(key).toProvider(new Provider() {
public Object get() {
try {
return item.instance();
} catch (final InstantiationException e) {
throw new ProvisionException(e.toString(), e);