Initial opendaylight infrastructure commit!!
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / core / IContainerAware.java
diff --git a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/IContainerAware.java b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/IContainerAware.java
new file mode 100644 (file)
index 0000000..008ec59
--- /dev/null
@@ -0,0 +1,35 @@
+
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
+package org.opendaylight.controller.sal.core;
+
+/**
+ * @file   IContainerAware.java
+ *
+ * @brief  Define the interface to be called when the Container is being
+ * created/destroyed
+ *
+ *
+ */
+
+public interface IContainerAware {
+    /**
+     * Method invoked to signal that a container is being created
+     *
+     * @param containerName Container being created
+     */
+    public void containerCreate(String containerName);
+
+    /**
+     * Method invoked to signal that a container is being destroyed
+     *
+     * @param containerName Container being destroyed
+     */
+    public void containerDestroy(String containerName);
+}