Errai 3.0.1-SNAPSHOT

org.jboss.errai.ioc.client
Class Container

java.lang.Object
  extended by 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


Constructor Summary
Container()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Container

public Container()
Method Detail

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 -

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.