001/* 002 * The contents of this file are subject to the license and copyright 003 * detailed in the LICENSE and NOTICE files at the root of the source 004 * tree. 005 */ 006package org.fcrepo.kernel.impl.operations; 007 008import org.fcrepo.kernel.api.Transaction; 009import org.fcrepo.kernel.api.identifiers.FedoraId; 010import org.fcrepo.kernel.api.operations.ReindexResourceOperationFactory; 011import org.springframework.stereotype.Component; 012 013/** 014 * Implementation of a reindex resource operation factory 015 * 016 * @author dbernstein 017 */ 018@Component 019public class ReindexResourceOperationFactoryImpl implements ReindexResourceOperationFactory { 020 021 @Override 022 public ReindexResourceOperationBuilder create(final Transaction transaction, final FedoraId resourceId) { 023 return new ReindexResourceOperationBuilder(transaction, resourceId); 024 } 025}