Ales Justin [
http://community.jboss.org/people/alesj] replied to the discussion
"Implementing a non-flat deployment for Weld Integration"
To view the discussion, visit:
http://community.jboss.org/message/554191#554191
--------------------------------------------------------------
> 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
[
http://community.jboss.org/message/554191#554191]
Start a new discussion in JBoss Microcontainer Development POJO Server at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]