From: <bra...@us...> - 2007-09-28 18:44:21
|
Revision: 2015 http://archive-access.svn.sourceforge.net/archive-access/?rev=2015&view=rev Author: bradtofel Date: 2007-09-28 11:44:25 -0700 (Fri, 28 Sep 2007) Log Message: ----------- INITIAL REV: small container wrapping ResourceIndex and ResourceStore Added Paths: ----------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/webapp/WaybackCollection.java Added: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/webapp/WaybackCollection.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/webapp/WaybackCollection.java (rev 0) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/webapp/WaybackCollection.java 2007-09-28 18:44:25 UTC (rev 2015) @@ -0,0 +1,51 @@ +/* WaybackCollection + * + * $Id$ + * + * Created on 11:28:52 AM Sep 28, 2007. + * + * Copyright (C) 2007 Internet Archive. + * + * This file is part of wayback. + * + * wayback is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or + * any later version. + * + * wayback is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser Public License for more details. + * + * You should have received a copy of the GNU Lesser Public License + * along with wayback; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +package org.archive.wayback.webapp; + +import org.archive.wayback.ResourceIndex; +import org.archive.wayback.ResourceStore; + +/** + * Abstraction point for sharing document collection and index across multiple AccessPoints. + * + * @author brad + * @version $Date$, $Revision$ + */ +public class WaybackCollection { + private ResourceStore resourceStore = null; + private ResourceIndex resourceIndex = null; + public ResourceStore getResourceStore() { + return resourceStore; + } + public void setResourceStore(ResourceStore resourceStore) { + this.resourceStore = resourceStore; + } + public ResourceIndex getResourceIndex() { + return resourceIndex; + } + public void setResourceIndex(ResourceIndex resourceIndex) { + this.resourceIndex = resourceIndex; + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |