001 /** 002 * Copyright (c) 2003 Daffodil Software Ltd all rights reserved, 003 * Modifications Copyright (c) 2008 Regiscope Digital Imaging Co, LLC, All rights reserved. 004 * This program is free software; you can redistribute it and/or modify 005 * it under the terms of version 2 of the GNU General Public License as 006 * published by the Free Software Foundation. 007 * There are special exceptions to the terms and conditions of the GPL 008 * as it is applied to this software. See the GNU General Public License for more details. 009 * 010 * This program is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 013 * GNU General Public License for more details. 014 * 015 * You should have received a copy of the GNU General Public License 016 * along with this program; if not, write to the Free Software 017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 018 */ 019 020 package org.dbreplicator.replication; 021 022 import org.dbreplicator.replication.DBHandler.*; 023 024 /** 025 * _Replicator is an interface implemented by both publisher and subscriber. 026 * It makes these classes to implement all the methods which are called 027 * at the time of synchronization to get the subscriber's or publisher's information. 028 * 029 */ 030 031 public interface _Replicator 032 { 033 public RepTable getRepTable(String tableName) throws RepException; 034 035 public AbstractDataBaseHandler getDBDataTypeHandler(); 036 037 public String getPub_SubName(); 038 }

