public abstract class AbstractPivotGriffonApplication extends AbstractGriffonApplication implements org.apache.pivot.wtk.Application
EMPTY_ARGS, lockpcsPROPERTY_LOCALE, PROPERTY_PHASE| Constructor and Description |
|---|
AbstractPivotGriffonApplication() |
AbstractPivotGriffonApplication(String[] args) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterStartup() |
protected ApplicationBootstrapper |
createApplicationBootstrapper(org.apache.pivot.wtk.Display display) |
Object |
createApplicationContainer(Map<String,Object> attributes) |
void |
exit() |
org.apache.pivot.wtk.ApplicationContext.ResourceCacheDictionary |
getResourceCache() |
void |
queue(boolean wait,
Runnable callback) |
void |
queue(Runnable callback) |
void |
resume() |
void |
schedule(long delay,
Runnable callback) |
void |
scheduleRecurring(long delay,
long period,
Runnable callback) |
void |
scheduleRecurring(long period,
Runnable callback) |
boolean |
shutdown()
Executes the 'Shutdown' life cycle phase.
|
boolean |
shutdown(boolean optional) |
void |
startup(org.apache.pivot.wtk.Display display,
org.apache.pivot.collections.Map<String,String> properties) |
void |
suspend() |
addShutdownHandler, canShutdown, event, getActionManager, getAddonManager, getApplicationClassLoader, getApplicationConfigurer, getArtifactManager, getConfiguration, getEventRouter, getInjector, getLocale, getLog, getMessageSource, getMvcGroupManager, getPhase, getResourceHandler, getResourceInjector, getResourceResolver, getStartupArgs, getUIThreadManager, getWindowManager, initialize, ready, removeShutdownHandler, run, setInjector, setLocale, setLocaleAsString, setPhase, showStartingWindow, startupaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListenerpublic boolean shutdown()
GriffonApplicationshutdown in interface GriffonApplicationshutdown in class AbstractGriffonApplicationpublic void exit()
@Nonnull public Object createApplicationContainer(@Nonnull Map<String,Object> attributes)
createApplicationContainer in interface GriffonApplicationpublic void startup(org.apache.pivot.wtk.Display display,
org.apache.pivot.collections.Map<String,String> properties)
throws Exception
startup in interface org.apache.pivot.wtk.ApplicationException@Nonnull protected ApplicationBootstrapper createApplicationBootstrapper(@Nonnull org.apache.pivot.wtk.Display display)
protected void afterStartup()
public boolean shutdown(boolean optional)
throws Exception
shutdown in interface org.apache.pivot.wtk.ApplicationExceptionpublic void suspend()
suspend in interface org.apache.pivot.wtk.Applicationpublic void resume()
resume in interface org.apache.pivot.wtk.Applicationpublic void schedule(long delay,
Runnable callback)
public void scheduleRecurring(long period,
Runnable callback)
public void scheduleRecurring(long delay,
long period,
Runnable callback)
public void queue(Runnable callback)
public void queue(boolean wait,
Runnable callback)
public org.apache.pivot.wtk.ApplicationContext.ResourceCacheDictionary getResourceCache()