JBoss Community

Re: can I avoid a service to block as7 startup ?

created by Jason Greene in JBoss AS7 Development - View the full discussion

Dan Sirbu wrote:

 

Well, the Framework depends "ok" on the SubsystemState. And since they run on the same thread the Framework will wait until Subsytem finishes.

 

The problem comes from the fact that the SubsystemState has NO clue how many modules are to be set. Thus it does not know how many adds need to be performed in order for the Subsystem Model to be created ok. The adds are comming in parallel with the SubsytemState start method .....

SubsystemState is an internal OSGi implementation class. It's not meant to be used for anything other than that.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community