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 6326957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:11:21+00:00 2026-05-24T17:11:21+00:00

As per this question, it seems that you can declare something like the following

  • 0

As per this question, it seems that you can declare something like the following and have it “work”:

@Configurable(autowire=Autowire.BY_TYPE)
public class Target {

    private List<Dependency> dependencies;

    public List<Dependency> getDependencies() {
        return this.dependencies;
    }

    @Autowired
    public void setDependencies(List<Dependency> dependencies) {
        this.dependencies = dependencies;
    }
}

Application context:

<beans>
    <!-- where all extend Dependency -->
    <bean class="com.dependencies.SubDependency"/>
    <bean class="com.dependencies.SubSubDependency"/>
</beans>

According to the manual, this should “just work™”, but it doesn’t. Other dependenices are wired on Target but the list dependency isn’t. Is there something I’m doing wrong? I only have one dependency at the moment to be wired, but this will expand with time.

  • 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-24T17:11:21+00:00Added an answer on May 24, 2026 at 5:11 pm

    I’ve got an example of doing this with build-time weaving on github. If it’s not a problem with your weaver, maybe you can identify the problem by comparison. You can browse it or clone and run it:

    git clone git://github.com/zzantozz/testbed.git tmp
    cd tmp
    mvn -q compile exec:java -Dexec.mainClass=rds.spring.SpringConfigurable \
        -pl spring-aspectj-build-time-weaving
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As per the title I have three parts to this question... Is db4o object
Per this question (see comments near the bottom), I was wondering if anyone knows
I've started to become a Good Citizen, as per this question here: Domain compatibility:
This is not a programming question per se, although the ultimate goal is to
This is not a question of premature optimization per se. On the garbage collector
All, I'm working on a SharePoint project, but this isn't a SharePoint-specific question per-se.
Per this helpful article I have confirmed I have a connection pool leak in
I need to have a single instance application (as per this answer ), but
I am very new to programming, so I apologize if this question seems absurdly
I have tried to ask a variant of this question before. I got some

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.