public static interface Contexts.Provider
org.openide.util.lookup.ServiceProvider
, so
ServiceLoader
can find them, when their JARs are included
on the classpath of the running application.Modifier and Type | Method and Description |
---|---|
void |
fillContext(Contexts.Builder context,
Class<?> requestor)
Register into the context if suitable technology is
available for the requesting class.
|
void fillContext(Contexts.Builder context, Class<?> requestor)
Providers should use Contexts.Builder
to enrich appropriately
the context.
context
- the context builder to fill with technologiesrequestor
- the application class requesting access the the HTML pageBrwsrCtx.findDefault(java.lang.Class)
Copyright © 2018 NetBeans. All rights reserved.