Improve cleanup after device disconnected event
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / DeviceContext.java
index 1f8c692b498c33eee73063391192d3eee8c7288c..b4e0b098fd496158c3774744a1bf70001d37e9a5 100644 (file)
@@ -42,7 +42,6 @@ import org.opendaylight.yangtools.yang.common.RpcResult;
  */
 public interface DeviceContext extends
         OFPContext,
-        AutoCloseable,
         DeviceReplyProcessor,
         TxFacade,
         DeviceRegistry,
@@ -127,9 +126,6 @@ public interface DeviceContext extends
      */
     ItemLifeCycleRegistry getItemLifeCycleSourceRegistry();
 
-    @Override
-    void close();
-
     void setSwitchFeaturesMandatory(boolean switchFeaturesMandatory);
 
     void putLifecycleServiceIntoTxChainManager(LifecycleService lifecycleService);