use of org.opendaylight.controller.sal.dom.broker.osgi.AbstractBrokerServiceProxy in project controller by opendaylight.
the class ConsumerContextImpl method close.
@Override
public void close() {
if (closed.compareAndSet(false, true)) {
Collection<BrokerService> toStop = instantiatedServices.values();
for (BrokerService brokerService : toStop) {
if (brokerService instanceof AbstractBrokerServiceProxy<?>) {
((AbstractBrokerServiceProxy<?>) brokerService).close();
}
}
broker.consumerSessionClosed(this);
}
}
Aggregations