2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.netconf.topology.util;
11 import org.opendaylight.netconf.topology.NodeListener;
12 import org.opendaylight.netconf.topology.RoleChangeStrategy;
15 * Use this strategy to override the default roleChange registration's in BaseTopologyManager|BaseNodeManager
16 * If you use this, you will need to execute your own election in your implemented callbacks.
18 public class NoopRoleChangeStrategy implements RoleChangeStrategy {
21 public void registerRoleCandidate(NodeListener electionCandidate) {
26 public void unregisterRoleCandidate() {
31 public boolean isCandidateRegistered() {
36 public void onRoleChanged(RoleChangeDTO roleChangeDTO) {