public class Container extends Object implements com.google.gwt.core.client.EntryPoint
Constructor and Description |
---|
Container() |
Modifier and Type | Method and Description |
---|---|
static void |
$(Runnable runnable)
Short-alias method for
runAfterInit(Runnable) . |
void |
bootstrapContainer() |
void |
onModuleLoad() |
static void |
runAfterInit(Runnable runnable)
Runs the specified
Runnable only after the bean manager has fully initialized. |
public void onModuleLoad()
onModuleLoad
in interface com.google.gwt.core.client.EntryPoint
public void bootstrapContainer()
public static void runAfterInit(Runnable runnable)
Runnable
only after the bean manager has fully initialized. It is generally not
necessary to use this method from within beans themselves. But if you are generated out-of-container calls
into the bean manager (such as for testing), it may be necessary to use this method to ensure that the beans
you wish to lookup have been loaded.
Use of this method is really only necessary when using the bean manager in asynchronous mode as wiring of the
container synchronously does not yield during bootstrapping operations.
If the bean manager is already initialized when you call this method, the Runnable is invoked immediately.runnable
- the Runnable
to execute after bean manager initialization.public static void $(Runnable runnable)
runAfterInit(Runnable)
.runnable
- Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.