Re: Q: Dependent Initialization
Greg Steuck <[email protected]>
| Newsgroups | gmane.comp.jakarta.avalon.apps.devel,gmane.comp.jakarta.avalon.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Vladimir" == Vladimir Kirichenko <[email protected]> writes: Vladimir> How could I make dependent initialization of 2 Vladimir> services. I.e if service A needs the live instance of Vladimir> service B in his initialization phase? This is a problem Vladimir> because of uncontrolled order of service initialization. >> Why do you say it is uncontrolled? Which particular container do >> you have in mind? Vladimir> I dont use any of them. I cannot use them in my project Vladimir> because of some features of it. I use framework only with Vladimir> some kind of my own container. In such a case your container is responsible for initializing the components in the right order. Take a look at how other containers achieve it. Alternatively you could talk to the list and maybe we together can figure out how you could take advantage of the existing containers hence save your time. Even if the current containers can't be used in your project, your input may help us shape the future containers to cover your needs. Bye Greg