dev ctx is removed from Device manager's internal map when closed
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / handlers / DeviceInitializationPhaseHandler.java
1 /**
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.openflowplugin.api.openflow.device.handlers;
10
11 import javax.annotation.CheckForNull;
12 import org.opendaylight.openflowplugin.api.openflow.device.DeviceContext;
13
14 /**
15  * openflowplugin-api
16  * org.opendaylight.openflowplugin.api.openflow.device.handlers
17  *
18  * Interface represent handler for new connected device building cycle. Every
19  * implementation have some unnecessary steps which has to be done before
20  * add new Device to MD-SAL DataStore.
21  *
22  * @author <a href="mailto:vdemcak@cisco.com">Vaclav Demcak</a>
23  *
24  * Created: Apr 3, 2015
25  */
26 public interface DeviceInitializationPhaseHandler {
27
28     /**
29      * Method represents an initialization cycle for {@link DeviceContext}
30      * preparation for use.
31      *
32      * @param deviceContext
33      */
34     void onDeviceContextLevelUp(@CheckForNull DeviceContext deviceContext);
35 }