* @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();
}