Package org.apache.tapestry5.clojure
Interface ClojureBuilder
-
- All Known Implementing Classes:
ClojureBuilderImpl
public interface ClojureBuilder
Creates a proxy for the interface that delegates each method to a Clojure function.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
build(Class<T> interfaceType)
Creates the proxy.
-
-
-
Method Detail
-
build
<T> T build(Class<T> interfaceType)
Creates the proxy. Method names are converted to Clojure function names.- Type Parameters:
T
- the interface type.- Parameters:
interfaceType
- type of interface. Must have theNamespace
annotation. Not null.- Returns:
- the proxy
- See Also:
MethodToFunctionSymbolMapper
-
-