@Singleton public class FcapsProvider extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
FcapsProvider(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
org.opendaylight.controller.md.sal.binding.api.NotificationService notificationService,
PacketInCounterHandler packetInCounterHandler,
NodeEventListener nodeEventListener)
Constructor sets the services.
|
@Inject
public FcapsProvider(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
org.opendaylight.controller.md.sal.binding.api.NotificationService notificationService,
PacketInCounterHandler packetInCounterHandler,
NodeEventListener nodeEventListener)
dataBroker - instance of databrokernotificationService - instance of notificationservicepacketInCounterHandler - instance of PacketInCounterHandlernodeEventListener - instance of NodeEventListener@PostConstruct public void start() throws Exception
Exception@PreDestroy public void close() throws Exception
close in interface AutoCloseableExceptionCopyright © 2018 OpenDaylight. All rights reserved.