The WS Stack API implementation requires this API extension.
See the issue 136912.
Please include the LookupProvider interface with createAdditionalLookup(Lookup base); method
and implement some static method like Lookup createCompositeLookup(Lookup base, String folderPath);
J2ee Plugins will use this static method in J2EEPlatformImpl.getLookup() method to enable registration of additional
Lookup Providers in layer.xml files.
Created attachment 64723 [details]
The commented part in LookupProviderSupport can be removed.
I'll push this change tomorrow, unless no further objections.
just a note for future reference:
the LookupProvider added here is a simplified version of the one residing in projectapi
I understand the j2eeserver codebase shall not introduce a dependency on projects probably.
However if the need arises for more similar "copies" we shall consider moving LookupProvider to a more prominent api module.
Fixed in main 3818ebbefd71.