See: Description
Package | Description |
---|---|
org.openide.util |
Client API part of the
Lookup
interfaces.
|
org.openide.util.lookup |
Support classes for the Registration and
Lookup extension mechanism. |
XXX no answer for arch-overall
One can use Lookups.execute(yourLookup, yourRunnable) to temporarily influence return value from Lookup.getDefault().
Meta annotation NamedServiceDefinition for those who define their own annotations that register something into Lookups.forPath registration area.
ProxyLookup
computes results lazily
ProxyLookup.lookupAll().iterator() is now incremental. E.g. you can use traverse part of the results without waiting for or creating all of them:
for (URLStreamHandlerFactory first : Lookup.getDefault().lookupAll(URLStreamHandlerFactory.class)) { return first; }
Adding SPI interface package for those who implement the NetBeans platform. This package is not shown in Javadoc as it does not form a generally available public API.
Lookup and its associated interfaces are now available as a separate module.
XXX no answer for arch-usecases
The sources for the module are in the NetBeans Mercurial repositories.
XXX no answer for deploy-dependencies
Read more about the implementation in the answers to architecture questions.
Built on December 20 2016. | Portions Copyright 1997-2016 Oracle. All rights reserved.