(no commit message)
[utils] / system / general / src / main / java / org / wamblee / system / ProvidedInterface.java
index 11b566460b068e3f8ed0d9aff597b85103458a02..20976d8a722c7e84060561dcecf4e5e7e98c3dbd 100644 (file)
@@ -20,4 +20,16 @@ public interface ProvidedInterface {
         * @return Service type. 
         */
        Class[] getInterfaceTypes();
+       
+       /**
+        * Publish an implementation of the interface. 
+        * @param aImplementation
+        */
+       void publish(Object aImplementation); 
+       
+       /**
+        * Gets the implementation. 
+        * @return Implementation or null if not started. 
+        */
+       Object getImplementation(); 
 }