001/*
002 * Copyright 2015 DuraSpace, Inc.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.fcrepo.http.api.repository;
017
018import org.fcrepo.http.api.FedoraExport;
019import org.springframework.context.annotation.Scope;
020
021import javax.ws.rs.Path;
022
023/**
024 * This stub is a hack to mount the functionality of FedoraExport at the root of
025 * this webapp. Without it, the globbing from FedoraNodes would own this path
026 * instead.
027 *
028 * @author awoods
029 * @author daines
030 *
031 * @deprecated This endpoint will be removed and the feature will be implemented
032 * via some Camel machinery.
033 * See <a href="https://jira.duraspace.org/browse/FCREPO-1519">FCREPO-1519</a>.
034 */
035@Scope("prototype")
036@Path("/fcr:export")
037@Deprecated
038public class FedoraRepositoryExport extends FedoraExport {
039}