Details
Description
I ran across this while working on plugins that use resource-ref-like features to identify a database connection pool, JMS destination, etc.
The problem was that some naming searches were restricted to the current module only when I felt all parents should be searched too.
I would like David J to review this before I commit it, as my understanding of the code in question is not terribly thorough.