1.1 --- a/boot/src/main/java/org/apidesign/html/boot/spi/Fn.java Thu Oct 10 14:02:18 2013 +0200
1.2 +++ b/boot/src/main/java/org/apidesign/html/boot/spi/Fn.java Tue Nov 05 09:04:29 2013 +0100
1.3 @@ -23,7 +23,6 @@
1.4 import java.io.Reader;
1.5 import java.net.URL;
1.6 import org.apidesign.html.boot.impl.FnContext;
1.7 -import org.apidesign.html.boot.impl.FnUtils;
1.8
1.9 /** Represents single JavaScript function that can be invoked.
1.10 * Created via {@link Presenter#defineFn(java.lang.String, java.lang.String...)}.
1.11 @@ -73,6 +72,9 @@
1.12 public abstract Object invoke(Object thiz, Object... args) throws Exception;
1.13
1.14 /** The representation of a <em>presenter</em> - usually a browser window.
1.15 + * Should be provided by a library included in the application and registered
1.16 + * in <code>META-INF/services</code>, for example with
1.17 + * <code>@ServiceProvider(service = Fn.Presenter.class)</code> annotation.
1.18 */
1.19 public interface Presenter {
1.20 /** Creates new function with given parameter names and provided body.