wood burning stoves 2.0*
The moose likes Spring and the fly likes Passing in an empty String as a constructor arg value for a bean where the underlying property is an Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Passing in an empty String as a constructor arg value for a bean where the underlying property is an" Watch "Passing in an empty String as a constructor arg value for a bean where the underlying property is an" New topic
Author

Passing in an empty String as a constructor arg value for a bean where the underlying property is an

Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Hi all,

I've got a bean, e.g.



Where the corresponding class:



and the ExternalExceptionDefinition class is an enum:



Does anyone know what the behaviour should be? We don't get any errors which surprises me.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Apparently it's null
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing in an empty String as a constructor arg value for a bean where the underlying property is an
 
Similar Threads
Accessing external Spring config file from Plain Servlet
Define enum as Spring Bean and dependency inject it into another Spring Bean
use a bean with a constructor in spring
switch using enum : error !
Enum accessing PRoblem