« Return to Thread: Best way to share object instances between modules?

Re: Best way to share object instances between modules?

by Sergio Lopes-3 :: Rate this Message:

Reply to Author | View in Thread

>  Can you attach your layer.xml file? I'll have a look at it. Do you have a folder defined?
File is not that big, though I believe you must have better things to
do than look at my code ;)
These are the two variations I tried following the documentation
<filesystem>
    <folder name="CatalogEngine">
        <file name="de-berlios-jfindmyfiles-catalog-CatalogEngine.instance">
            <attr name="instanceClass"
stringvalue="de.berlios.jfindmyfiles.catalog.CatalogEngine"/>
        </file>
    </folder>
</filesystem>

or

<filesystem>
    <file name="de-berlios-jfindmyfiles-catalog-CatalogEngine.instance">
        <attr name="instanceClass"
stringvalue="de.berlios.jfindmyfiles.catalog.CatalogEngine"/>
    </file>
</filesystem>

This is on the layer file of the Catalog module, I'm trying to look
for the instance on the GUI module.

--
Sem mais e com os melhores cumprimentos,

Sérgio Lopes

 « Return to Thread: Best way to share object instances between modules?