Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1033059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:10:32+00:00 2026-05-16T14:10:32+00:00

In Spring Framework (both for java and .net) i can use the following definition

  • 0

In Spring Framework (both for java and .net) i can use the following definition of objects:

<object id="parentObject" type="Type1" abstract="true">
  <property name="name" value="parent"/>
  <property name="age" value="1"/>
</object>

<object id="childObject" type="Type2" parent="parentObject">
  <property name="name" value="override"/>
  <!-- age will inherit value of 1 from parent -->
</object>

Note for parent attribute. It is a kind of templating (inheriting of configuration definitions)

Definition of this attribute:
http://www.springframework.net/docs/1.3.0/reference/html/objects.html#objects-childobjects

What is an equivalent for this in Castle Windsor?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:10:33+00:00Added an answer on May 16, 2026 at 2:10 pm

    Windsor has ability to define your components in code which is waaaaay more powerful and it’s a recommended way. You can do the “parent” trick by extracting the common code to a helper method.

    Config in Windsor is considered legacy, and should not be used except for very limited cases, so in reality you shouldn’t need that at all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 543k
  • Answers 543k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Try: identity = (WindowsIdentity)(HttpContext.Current.User.Identity); edited to be more clear (I… May 17, 2026 at 6:39 am
  • Editorial Team
    Editorial Team added an answer public DateTime GetCurrentQuarter(DateTime date) { int startingMonthOfQuarter = (((date.Month -… May 17, 2026 at 6:39 am
  • Editorial Team
    Editorial Team added an answer jQuery does not have native cookie functions. While I completely… May 17, 2026 at 6:39 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm currently trying to get into the Java EE development with the Spring framework.
Spring.NET is an open source application framework that makes building enterprise .NET applications easier.
What is a very good jsp framework to use with Spring MVC. Are the
I'm using the Java spring framework for security. My pre-existing table layout differs from
I'm new to both JSF and Spring Framework and I'm trying to figure out
My ASP.NET MVC 2 application uses Entity Framework 4.0 for the data model. Following
We have started using Spring framework in my project. After becoming acquainted with the
My project is based on spring framework 2.5.4. And I try to add aspects
I'm pretty new to the Spring Framework, I've been playing around with it and
I'm building a MVC web application (using the Spring MVC framework), and I'm a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.