Vincent,
When I try to use a generic interface as service class key, e.g.:
<property name="serviceDelegateBeanNames">
<map>
<entry key="org.popsuite.common.model.proxy.CalendarDateProxy<org.joda.time.LocalDate>"
value="calendarDateProxyDelegate" />
</map>
</property>
I get this exception:
Caused by: java.lang.ClassNotFoundException: org.popsuite.common.model.proxy.CalendarDateProxy<org.joda.time.LocalDate>
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.jspresso.framework.model.descriptor.basic.AbstractComponentDescriptor.registerDelegateServicesIfNecessary(AbstractComponentDescriptor.java:693)
... 37 more
When in AbstractComponentDescriptor.registerDelegateServicesIfNecessary, the raw type is extracted and used, everything runs fine.
And then the java class generated doesn't throw a warning message about raw type (References to generic type DateIntervalProxy<B> should be parameterized).
Regards
Pierre
