mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lian Cheng <rhythm.m...@gmail.com>
Subject Spring related mina-example code breaks
Date Thu, 10 Jan 2008 14:48:31 GMT

Hi everyone,

Has anybody noticed that the Spring version of chat example breaks? The
trouble maker is
mina-examples/src/main/resources/org/apache/mina/example/chat/serverContext.xml,
in which there is still classes already removed from trunk long ago, such
as:

 - org.apache.mina.integration.spring.ssl.KeyStoreFactoryBean
 - org.apache.mina.integration.spring.ssl.BogusTrustManagerFactory
 - org.apache.mina.integration.spring.ssl.SslContextFactoryBean
 - org.apache.mina.integration.spring.DefaultIoFilterChainBuilderFactoryBean

And, even worse, there seems no substitutions in current trunk code base. I
think it is because Spring assembles objects by reflection and compile time
checking is obviously not effective, and thus Maven cannot report any error
while packaging. It seems more integration test code should be added to
prevent similar runtime errors.

Also, I suggest developers have the Spring IDE at hand and add Spring
project nature to the mina-example project, so that Spring IDE can detect
and report similar errors.

Cheers
Cheng
-- 
View this message in context: http://www.nabble.com/Spring-related-mina-example-code-breaks-tp14735748s16868p14735748.html
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.


Mime
View raw message