• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

setting parent in custom schema

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I created my custom schema , a parser , a name space handler , it works fine all my beans are initialized.now 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic