Class VpnClusterEosBasedOwnershipDriver
- java.lang.Object
-
- org.opendaylight.netvirt.vpnmanager.VpnClusterOwnershipDriverBase
-
- org.opendaylight.netvirt.vpnmanager.VpnClusterEosBasedOwnershipDriver
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener
,org.opendaylight.mdsal.eos.common.api.GenericEntityOwnershipListener<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange>
,IVpnClusterOwnershipDriver
@Singleton public class VpnClusterEosBasedOwnershipDriver extends VpnClusterOwnershipDriverBase implements org.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener
-
-
Field Summary
-
Fields inherited from class org.opendaylight.netvirt.vpnmanager.VpnClusterOwnershipDriverBase
amIOwner, VPN_SERVICE_ENTITY
-
-
Constructor Summary
Constructors Constructor Description VpnClusterEosBasedOwnershipDriver(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
ownershipChanged(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange entityOwnershipChange)
void
start()
-
Methods inherited from class org.opendaylight.netvirt.vpnmanager.VpnClusterOwnershipDriverBase
amIOwner
-
-
-
-
Method Detail
-
start
@PostConstruct public void start()
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Overrides:
close
in classVpnClusterOwnershipDriverBase
-
ownershipChanged
public void ownershipChanged(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange entityOwnershipChange)
- Specified by:
ownershipChanged
in interfaceorg.opendaylight.mdsal.eos.binding.api.EntityOwnershipListener
- Specified by:
ownershipChanged
in interfaceorg.opendaylight.mdsal.eos.common.api.GenericEntityOwnershipListener<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange>
-
-