Package org.apache.tapestry5.clojure
Interface MethodToFunctionSymbolMapper
-
- All Known Implementing Classes:
AnnotationMapper
,DefaultMapper
@UsesOrderedConfiguration(MethodToFunctionSymbolMapper.class) public interface MethodToFunctionSymbolMapper
Maps a method from a service interface to a fully-qualified Clojure function name, as a ClojureSymbol
. This service is itself a chain of command, to support adding or overriding the mapping.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description clojure.lang.Symbol
mapMethod(java.lang.String namespace, java.lang.reflect.Method method)
-
-
-
Method Detail
-
mapMethod
clojure.lang.Symbol mapMethod(java.lang.String namespace, java.lang.reflect.Method method)
- Parameters:
namespace
- namespace for the service (fromNamespace
annotation)method
- method for which a function name is desired.- Returns:
- Symbol for this method, or null (to drop down to next mapper)
-
-