if (entityResolver == null) {
throw new NullPointerException("entityResolver");
}
_taksProcessor = new QueuedTaskProcessor(index, entityResolver) {
@Override
protected void onBeforeBulkIndex() {
((HibernateEntityResolver) getEntityResolver()).openResolveSession();
}