This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes setting parent in custom schema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "setting parent in custom schema" Watch "setting parent in custom schema" New topic

setting parent in custom schema

srini carry
Ranch Hand

Joined: Nov 30, 2007
Posts: 83
I created my custom schema , a parser , a name space handler , it works fine all my beans are I want to add the feature of parent(inheritance ) to my custom schema , I found a method getParentName from AbstractSingleBeanDefinitionParser , I override this method to set the parent , when I debug I can see the parent is set , but when all the beans are loaded and I call get methods of child bean I get null even tough the parent is set child is not inheriting , I d'ont what is going wrong ,
I also tried the same with beans not my custom schema it worked fine the child inherited from parent but in case of my custom schema its not, please suggest me with some examples , or any hints on what might cause this , help is greatly appreciated.
It is sorta covered in the JavaRanch Style Guide.
subject: setting parent in custom schema
Similar Threads
Nested Children Access
Polymorphism - InstanceOf
Help with JSP
Static methods and inheritance.
clarification on why the modifier private changes output..