OK I completely agree from your point of view but somehow I still believe that spring should not expose the private property/constructors/methods to developers.. it can be risky and breaks the laws...
Type: Posts; User: dgahlawat@yahoo.com; Keyword(s):
OK I completely agree from your point of view but somehow I still believe that spring should not expose the private property/constructors/methods to developers.. it can be risky and breaks the laws...
Thanks for the clarification howitzer. May I ask why do you anyway need to create a bean using the constructor which is private, in your context? I dont think we have much uses when we have a...
My question is should this be allowed? If we allow that we can never guarantee any class to be singleton.
Please refer http://en.wikipedia.org/wiki/Aspect_(computer_science)
Hi jglen,
Probably you have used the wrong name for below property in the bean xml file.
<property name="myErrorMsg" value="Error message goes here"/>
Please check if the correction of...
Well application context is for application level injection (preferably objects which remains same throughout the application). In your case you are trying to put your business logic in the...