NetBeans Architecture Answers for Lookup module

WARNING: answering questions version 1.12 rather than the current 1.25.

Interfaces table

Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
ProviderRegistrationMechanismImportedStandardhttp://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Provider%20Configuration%20File

ProviderRegistrationRemovalExportedUnder Developmenthttp://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/services-api.html#service-lookup

LookupAPIExportedOfficialhttp://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/services-api.html#lookup

Additional info can be found at

LookupSPIExportedOfficialhttp://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/util/lookup/package-frame.html

Additional info can be found at

Group of property interfaces
Interface NameIn/OutStabilitySpecified in What Document?
org.openide.util.LookupExportedUnder Development

Can contain name of a class that extends org.openide.util.Lookup and has public constructor, that should be instantiated and returned from Lookup.getDefault the class will be loaded by Thread.currentThread().getContextclassLoader() classloader the first time Lookup.getDefault is invoked.

The property can also contain value "-" which means to completely disable the lookup instantiation and return Lookup.EMPTY from Lookup.getDefault.

If the property is unspecified, the default MetaInfServicesLookup is constructed for Thread.currentThread().getContextclassLoader() that implements the JDK's standard. If, by a chance an instance of org.openide.util.Lookup.Provider is found in there, it is returned as result. Otherwise the MetaInfServicesLookup is the result of Lookup.getDefault.


General Information


Project and platform dependencies


Deployment


Compatibility with environment


Access to resources


Lookup of components


Execution Environment


Format of files and protocols


Performance and Scalability


Built on July 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.