KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to create an Object which is in-complete without the constructor argument. Something like this Class A { private final int timeOut public A(int timeout) { this.timeOut = timeout; } //... } I would like this Bean to be spring managed, so that I can use Spring AOP later. <bean id="myBean" class="A" singleton="false"> </bean> However my bean needs timeout to be passed as a dynamic value - is there a way to create a spring managed bean with dynamic value being injedcted in the constructor?
Tags (comma-separated)
Save Edits
Cancel