org.netbeans.modules.j2ee.deployment.plugins.spi.support
Class LookupProviderSupport
java.lang.Object
org.netbeans.modules.j2ee.deployment.plugins.spi.support.LookupProviderSupport
public final class LookupProviderSupport
- extends Object
Factory for lookup capable of merging content from registered
LookupProvider instances.
- Since:
- 1.50
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createCompositeLookup
public static Lookup createCompositeLookup(Lookup baseLookup,
String folderPath)
- Creates a platform lookup instance that combines the content from multiple sources.
A convenience factory method for implementors of
J2eePlatform.
- Parameters:
baseLookup - initial, base content of the project lookup created by the pluginfolderPath - the path in the System Filesystem that is used as root for lookup composition, as for Lookups.forPath(java.lang.String).
The content of the folder is assumed to be LookupProvider instances.
- Returns:
- a lookup to be used in platform