aspose file tools*
The moose likes Spring and the fly likes using spring expressions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "using spring expressions" Watch "using spring expressions" New topic
Author

using spring expressions

sam bartl
Ranch Hand

Joined: Oct 29, 2010
Posts: 44
I have this traditional bean using methodInvokingfactoryBean



please tell me how to write the same using expressions ?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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>


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using spring expressions
 
Similar Threads
start up jobs on production environment
Spring Transaction using Spring AOP
How to Pass arguements in errors.rejectValue()
how do i solve this error caused due to problem in spring initiation on tomcat
Spring: Not able to redirect to a bean