Class DhcpSubnetListener
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet,DhcpSubnetListener>
-
- org.opendaylight.netvirt.dhcpservice.DhcpSubnetListener
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet>
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet>
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet>
@Singleton public class DhcpSubnetListener extends org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet,DhcpSubnetListener>
-
-
Constructor Summary
Constructors Constructor Description DhcpSubnetListener(DhcpManager dhcpManager, DhcpExternalTunnelManager dhcpExternalTunnelManager, org.opendaylight.controller.md.sal.binding.api.DataBroker broker, DhcpserviceConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet add)
void
close()
protected DhcpSubnetListener
getDataTreeChangeListener()
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet>
getWildCardPath()
void
init()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet del)
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet original, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet update)
-
-
-
Constructor Detail
-
DhcpSubnetListener
@Inject public DhcpSubnetListener(DhcpManager dhcpManager, DhcpExternalTunnelManager dhcpExternalTunnelManager, org.opendaylight.controller.md.sal.binding.api.DataBroker broker, DhcpserviceConfig config)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet add)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet,DhcpSubnetListener>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet del)
- Specified by:
remove
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet,DhcpSubnetListener>
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet,DhcpSubnetListener>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet> identifier, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet original, org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet update)
- Specified by:
update
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet,DhcpSubnetListener>
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Overrides:
close
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet,DhcpSubnetListener>
-
getDataTreeChangeListener
protected DhcpSubnetListener getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet,DhcpSubnetListener>
-
-