public final class MainLookup extends ProxyLookup
Lookup.Item<T>, Lookup.Provider, Lookup.Result<T>, Lookup.Template<T>| Constructor and Description |
|---|
MainLookup() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeLookup(Lookup.Template templ) |
static void |
moduleClassLoadersUp()
Called when modules are about to be turned on.
|
static void |
moduleLookupReady(Lookup moduleLookup)
Called when Lookup
|
static void |
modulesClassPathInitialized()
When all module classes are accessible thru systemClassLoader, this
method is called to initialize the FolderLookup.
|
static void |
register(Object obj)
Register new instance.
|
static <T,R> void |
register(T obj,
InstanceContent.Convertor<T,R> conv)
Register new instance.
|
static void |
started()
GuiRunLevel has started up.
|
static void |
systemClassLoaderChanged(ClassLoader nue)
Called when a system classloader changes.
|
static void |
unregister(Object obj)
Unregisters the service.
|
static <T,R> void |
unregister(T obj,
InstanceContent.Convertor<T,R> conv)
Unregisters the service registered with a convertor.
|
static Task |
warmUp(long delay)
Schedule all
Runnable in WarmUp folder for invocation. |
getLookups, lookup, lookup, lookupItem, setLookups, setLookups, toStringgetDefault, lookupAll, lookupResultpublic static void started()
public static Task warmUp(long delay)
Runnable in WarmUp folder for invocation.delay - time in ms to wait with warmuppublic static final void systemClassLoaderChanged(ClassLoader nue)
public static final void moduleClassLoadersUp()
public static final void moduleLookupReady(Lookup moduleLookup)
public static final void modulesClassPathInitialized()
public static void register(Object obj)
public static <T,R> void register(T obj,
InstanceContent.Convertor<T,R> conv)
obj - sourceconv - convertor which postponing an instantiationpublic static void unregister(Object obj)
public static <T,R> void unregister(T obj,
InstanceContent.Convertor<T,R> conv)
protected void beforeLookup(Lookup.Template templ)
beforeLookup in class ProxyLookupBuilt on May 20 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.