Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] getResources()

I have a situation where I need getResources() to return a list of resources from a specific place found in different bundles.  In a "normal" classloader environment if I had two jars in the classpath with a resource
 
/WHATEVER-INF/hi.xml
 
and I asked the classloader for the getResources() I would get two items in the enumeration.
 
However, if those same two things were bundles, how could I make a third bundle also return two items from the getResources() call?  Do I somehow make both bundles export WHATEVER-INF (like a package) and then have the third bundle import WHATEVER-INF?  I don't think that will work, since only one of the exported WHATEVER-INF guys will be chosen.
 
Anyone have any ideas on how to accomplish this sort of thing?
 

John Wells (Aziz)

jwells@bea.comNOSPAM

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Back to the top