|
Call DeviceContext.oook() before creating instance of the service (encapsulate to util method). For classes that are currently calling DeviceContext.oook() add parameter to the constructor:
a/ org.opendaylight.openflowplugin.impl.statistics.services.AggregateFlowsInTableService
b/ org.opendaylight.openflowplugin.impl.statistics.services.OpendaylightFlowStatisticsServiceImpl
Call getMessageConverter(key) before creating instance of the service (encapsulate to util method). Add argument ConvertorMessageToOFJava to constructor of class and stop using getDeviceContext():
c/ org.opendaylight.openflowplugin.impl.services.SalExperimenterMessageServiceImpl
org.opendaylight.openflowplugin.api.openflow.device.MessageTranslator<I, O>
a/ org.opendaylight.openflowplugin.impl.translator.AggregatedFlowStatisticsTranslator
b/ org.opendaylight.openflowplugin.impl.translator.FlowRemovedTranslator
c/ org.opendaylight.openflowplugin.impl.translator.FlowRemovedV10Translator
d/ org.opendaylight.openflowplugin.impl.translator.PacketReceivedTranslator (see OPNFLWPLUG-655 PortNumberCache)
e/ org.opendaylight.openflowplugin.impl.translator.PortUpdateTranslator
|