Re: coercion from Scala types

2015-10-03 Thread Ilya Obshadko
Seems the solution is possible, however a little bit tricky: for some reason you can't import Scala Iterable type into Java code, so everything has to be done in Scala code instead: *def* createTapestryCoercions(configuration: org.apache.tapestry5.ioc.Configuration[org.apache.tapestry5.ioc.servi

coercion from Scala types

2015-10-02 Thread Ilya Obshadko
Just checking - did anyone ever try to create general-purpose type coercer for Scala types? It seems to be very natural solution to avoid calling .asJava on every return type I happen to use from Scala. -- Ilya Obshadko