Improve cleanup after device disconnected event
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / handlers / DeviceInitializationPhaseHandler.java
index 7c16d3e384bbbf0767736b6adc0ad8e0050e04f4..2468818ad14e84f169713a29ce0e460daa959307 100644 (file)
@@ -31,5 +31,6 @@ public interface DeviceInitializationPhaseHandler {
      * @param lifecycleService - cluster singleton service
      * @throws Exception - needs to be catch in ConnectionHandler implementation
      */
-    void onDeviceContextLevelUp(final DeviceInfo deviceInfo, final LifecycleService lifecycleService) throws Exception;
+    void onDeviceContextLevelUp(final @CheckForNull DeviceInfo deviceInfo,
+                                final @CheckForNull LifecycleService lifecycleService) throws Exception;
 }