Fix context chain initialization and SLAVE change
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / handlers / ClusterLifecycleSupervisor.java
diff --git a/openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/handlers/ClusterLifecycleSupervisor.java b/openflowplugin-api/src/main/java/org/opendaylight/openflowplugin/api/openflow/device/handlers/ClusterLifecycleSupervisor.java
deleted file mode 100644 (file)
index 895bbf3..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Copyright (c) 2016 Pantheon Technologies s.r.o. and others. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-
-package org.opendaylight.openflowplugin.api.openflow.device.handlers;
-
-/**
- * Interface has to implement all relevant manager to correctly handling
- * device context initialization when device MASTER. Methods are used for order
- * handlers in initialization phase. Ordering is easily changed
- * pragmatically by definition.
- */
-public interface ClusterLifecycleSupervisor {
-
-    /**
-     * Method sets relevant {@link ClusterInitializationPhaseHandler} for building
-     * handler's chain for Device mastership phase.
-     * @param handler handler
-     */
-    default void setLifecycleInitializationPhaseHandler(final ClusterInitializationPhaseHandler handler) {
-        //Need to be set only in lifecycle service, device context and statistics context;
-    }
-
-    default void setInitialSubmitHandler(final ClusterInitializationPhaseHandler initialSubmitHandler) {
-        //Need to be only set in statistics context where after successful initial gather tx need to be submitted
-    }
-
-}