org.netbeans.modules.j2eeserver/4 1.55.0 1

org.netbeans.modules.j2ee.deployment.plugins.spi
Interface LookupProvider


public interface LookupProvider

interface for inclusion of 3rd party content in J2eePlatform's lookup. Typically, if the serverplugin type allows composition of lookup from multiple sources, it will make a layer location public where 3rd parties will register implementations of this interface.

Since:
1.50

Method Summary
 Lookup createAdditionalLookup(Lookup baseContext)
          implementations will be asked to create their additional project lookup based on the baseContext passed as parameter.
 

Method Detail

createAdditionalLookup

Lookup createAdditionalLookup(Lookup baseContext)
implementations will be asked to create their additional project lookup based on the baseContext passed as parameter. The content of baseLookup is undefined on this level, is a contract of the actual serverplugin type. Each implementation is only asked once for it's lookup for a given platform instance at the time when platform's lookup is being created.

Parameters:
baseContext - implementation shall decide what to return for a given platform instance based on context passed in.
Returns:
a Lookup instance that is to be added to the platform's lookup, never null.

org.netbeans.modules.j2eeserver/4 1.55.0 1

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