008ec59bfa2d08e4c1859afcec840e040b8860f2
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / core / IContainerAware.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.sal.core;
11
12 /**
13  * @file   IContainerAware.java
14  *
15  * @brief  Define the interface to be called when the Container is being
16  * created/destroyed
17  *
18  *
19  */
20
21 public interface IContainerAware {
22     /**
23      * Method invoked to signal that a container is being created
24      *
25      * @param containerName Container being created
26      */
27     public void containerCreate(String containerName);
28
29     /**
30      * Method invoked to signal that a container is being destroyed
31      *
32      * @param containerName Container being destroyed
33      */
34     public void containerDestroy(String containerName);
35 }