org.netbeans.modules.j2eeserver/4 1.55.0 1

org.netbeans.modules.j2ee.deployment.plugins.spi.support
Class LookupProviderSupport

java.lang.Object
  extended by 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

Method Summary
static Lookup createCompositeLookup(Lookup baseLookup, String folderPath)
          Creates a platform lookup instance that combines the content from multiple sources.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 plugin
folderPath - 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

org.netbeans.modules.j2eeserver/4 1.55.0 1

Built on November 20 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.