public class DefaultApplication extends java.lang.Object implements Application
| Constructor and Description |
|---|
DefaultApplication() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(java.lang.Object instance)
Configure a bean instance for platform-specific behaviour
|
void |
execute(java.lang.Object context,
java.lang.Runnable runnable)
Integration with deferred execution of a runnable on the UI thread
|
void |
initContext(Context context,
java.util.Map<java.lang.String,java.lang.Object> initialBeans)
Define a map of beans that will be setup in the context before initialization
|
public void initContext(Context context, java.util.Map<java.lang.String,java.lang.Object> initialBeans)
ApplicationinitContext in interface Applicationcontext - Tide contextinitialBeans - map of bean instances keyed by namepublic void configure(java.lang.Object instance)
Applicationconfigure in interface Applicationinstance - bean instancepublic void execute(java.lang.Object context,
java.lang.Runnable runnable)
Applicationexecute in interface Applicationcontext - context to run the UI threadrunnable - runnable to execute in the UI thread