JBoss Community

Implementing a non-flat deployment for Weld Integration

reply from Ales Justin in JBoss Microcontainer Development POJO Server - View the full discussion
How often is this - loadBeanDeploymentArchive - method used?

Depends how many extensions are present, and how many beans/classes they add. It's used once per extension and once per bean or class it adds. So potentially, a lot...

OK, thought so as well. Just wanted to make sure. :-)

Or, shouldn't the (potential) operation [Archive|Deployment]::isReachable(Archive other) be O(1),

a simple hash lookup of pre-build reachable archives / deployments?

That seems sensible to me.

At least that's how I would impl things --> building proper indexes when things get deployed.

So any potential lookup would be super simple aka fast.

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer Development POJO Server at Community