File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using spring expressions

 
sam bartl
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this traditional bean using methodInvokingfactoryBean



please tell me how to write the same using expressions ?
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
basically use

#{systemProperties.find_service_url}

Where find_service_url is the property name in System.

That is using Spring's SpEL.

So if I want to set a property in my MarkService with that value




Mark>
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic