Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using spring expressions

 
sam bartl
Ranch Hand
Posts: 44
  • 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: 17278
6
IntelliJ IDE Mac Spring
  • 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