Disable Spring URL resource loading in context file

Posted by drewzilla on Stack Overflow See other posts from Stack Overflow or by drewzilla
Published on 2010-05-13T20:06:50Z Indexed on 2010/05/13 23:24 UTC
Read the original article Hit count: 204

Filed under:

I have the need to specify a URL in a Spring context file but don't want Spring to turn it into a resource, i.e. I want the URL to be passed as a String to the bean that I'm creating in the context file rather than it being converted into a Resource object.

How can I avoid Spring creating a Resource?

Thanks,

Andrew

© Stack Overflow or respective owner

Related posts about spring