[
https://issues.apache.org/jira/browse/DIRMINA-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557966#action_12557966
]
Niklas Therning commented on DIRMINA-510:
-----------------------------------------
I have no objections to rename the methods.
The important thing is that KeyStoreFactory will play nicely with Spring's
Resources. Before when we had KeyStoreFactoryBean I think you would pass a
Resource object which meant that you could e.g. load stuff from your webapp's
context and use context relative URL in a web environment. That's very
convenient but I'm not sure that we would get that same support now when
KeyStoreFactory cannot depend on Spring anymore.
Question is will Spring create a nice URL for you in your example and use the
current ResourceLoader to resolve the URL?
> Spring version of chat example breaks
> -------------------------------------
>
> Key: DIRMINA-510
> URL: https://issues.apache.org/jira/browse/DIRMINA-510
> Project: MINA
> Issue Type: Bug
> Components: Example
> Affects Versions: 2.0.0-M1
> Reporter: Maarten Bosteels
> Assignee: Maarten Bosteels
> Priority: Trivial
> Fix For: 2.0.0-M1
>
>
> org.apache.mina.example.chat.SpringMain because of ClassNotFoundException
> Exception in thread "main"
> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find
> class [org.apache.mina.integration.spring.ssl.KeyStoreFactoryBean] for bean
> with name 'keyStore' defined in class path resource
> [org/apache/mina/example/chat/serverContext.xml]; nested exception is
> java.lang.ClassNotFoundException
> ...
> see
> http://www.nabble.com/Spring-related-mina-example-code-breaks-to14735748s16868.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.