org.jboss.errai.ioc.client
Class Container
java.lang.Object
org.jboss.errai.ioc.client.Container
- All Implemented Interfaces:
- com.google.gwt.core.client.EntryPoint
public class Container
- extends Object
- implements com.google.gwt.core.client.EntryPoint
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Container
public Container()
onModuleLoad
public void onModuleLoad()
- Specified by:
onModuleLoad
in interface com.google.gwt.core.client.EntryPoint
bootstrapContainer
public void bootstrapContainer()
runAfterInit
public static void runAfterInit(Runnable runnable)
- Runs the specified
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.
- Parameters:
runnable
- the Runnable
to execute after bean manager initialization.
$
public static void $(Runnable runnable)
- Short-alias method for
runAfterInit(Runnable)
.
- Parameters:
runnable
-
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.