Define APIs to determine how to translate an intent.

It's a part of ONOS-1654.

- IntentResolver handles translation of an intent
- IIntentRuntimeService supports to register/unregister IntentResolver

Change-Id: I9367fddf29eb55c3d7ed206e1fbf8635454f2e36
diff --git a/src/main/java/net/onrc/onos/core/newintent/IntentRuntimeModule.java b/src/main/java/net/onrc/onos/core/newintent/IntentRuntimeModule.java
index 8410400..8da30e8 100644
--- a/src/main/java/net/onrc/onos/core/newintent/IntentRuntimeModule.java
+++ b/src/main/java/net/onrc/onos/core/newintent/IntentRuntimeModule.java
@@ -9,6 +9,7 @@
 import net.onrc.onos.api.intent.IIntentRuntimeService;
 import net.onrc.onos.api.intent.Intent;
 import net.onrc.onos.api.intent.IntentId;
+import net.onrc.onos.api.intent.IntentResolver;
 
 /**
  * Implementation of Intent-Runtime Service.
@@ -64,6 +65,16 @@
     }
 
     @Override
+    public <T extends Intent> void addResolver(Class<T> type, IntentResolver<T> resolver) {
+        //To change body of implemented methods use File | Settings | File Templates.
+    }
+
+    @Override
+    public <T extends Intent> void removeResolver(Class<T> type) {
+        //To change body of implemented methods use File | Settings | File Templates.
+    }
+
+    @Override
     public Collection<IFlow> getFlows(String intentId) {
         // TODO Auto-generated method stub
         return null;