diff --git a/symmetric/src/main/java/org/jumpmind/symmetric/load/IReloadListener.java b/symmetric/src/main/java/org/jumpmind/symmetric/load/IReloadListener.java new file mode 100644 index 0000000000..bc2560d0b7 --- /dev/null +++ b/symmetric/src/main/java/org/jumpmind/symmetric/load/IReloadListener.java @@ -0,0 +1,31 @@ +/* + * SymmetricDS is an open source database synchronization solution. + * + * Copyright (C) Eric Long , + * Chris Henson + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This library 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 General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see + * . + */ +package org.jumpmind.symmetric.load; + +/** + * This is an extension point that can be implemented to listen in and take action + * before or after a reload is requested for a Node. + */ +public interface IReloadListener { + public void beforeReload(String nodeId); + + public void afterReload(String nodeId); +}