Squashed commit of the following:
[ovsdb.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / AbstractHandler.java
index 36969bb9dc23b473a5b1d75e5d1a095325e9a6cc..b9c5e5436934be8c293b0c913de7e8c3bc19559d 100644 (file)
@@ -9,9 +9,9 @@
  */
 package org.opendaylight.ovsdb.openstack.netvirt;
 
-import org.opendaylight.controller.sal.utils.Status;
-import org.opendaylight.controller.sal.utils.StatusCode;
 import org.opendaylight.ovsdb.openstack.netvirt.api.EventDispatcher;
+import org.opendaylight.ovsdb.openstack.netvirt.api.Status;
+import org.opendaylight.ovsdb.openstack.netvirt.api.StatusCode;
 
 import com.google.common.base.Preconditions;
 import org.slf4j.Logger;
@@ -34,6 +34,10 @@ public abstract class AbstractHandler {
     // The implementation for each of these services is resolved by the OSGi Service Manager
     private volatile EventDispatcher eventDispatcher;
 
+    void init() {
+        logger.info(">>>>> init {}", this.getClass());
+    }
+
     /**
      * Convert failure status returned by the  manager into
      * neutron API service errors.
@@ -68,7 +72,7 @@ public abstract class AbstractHandler {
     /**
      * Enqueue the event.
      *
-     * @param event the {@link org.opendaylight.ovsdb.openstack.netvirt.AbstractEvent} event to be handled.
+     * @param abstractEvent the {@link org.opendaylight.ovsdb.openstack.netvirt.AbstractEvent} event to be handled.
      * @see org.opendaylight.ovsdb.openstack.netvirt.api.EventDispatcher
      */
     protected void enqueueEvent(AbstractEvent abstractEvent) {
@@ -79,7 +83,7 @@ public abstract class AbstractHandler {
     /**
      * Process the event.
      *
-     * @param event the {@link org.opendaylight.ovsdb.openstack.netvirt.AbstractEvent} event to be handled.
+     * @param abstractEvent the {@link org.opendaylight.ovsdb.openstack.netvirt.AbstractEvent} event to be handled.
      * @see org.opendaylight.ovsdb.openstack.netvirt.api.EventDispatcher
      */
     public abstract void processEvent(AbstractEvent abstractEvent);