public abstract class AbstractPivotGriffonApplication extends AbstractGriffonApplication implements org.apache.pivot.wtk.Application
EMPTY_ARGS, injector, locale, lock, log, phase, shutdownHandlers, shutdownLock, startupArgs
pcs
PROPERTY_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, getConfigurationManager, getContext, getEventRouter, getInjector, getLocale, getLog, getMessageSource, getMvcGroupManager, getPhase, getResourceHandler, getResourceInjector, getResourceResolver, getStartupArgs, getUIThreadManager, getWindowManager, initialize, ready, removeShutdownHandler, run, setInjector, setLocale, setLocaleAsString, setPhase, showStartingWindow, startup
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
public boolean shutdown()
GriffonApplication
shutdown
in interface GriffonApplication
shutdown
in class AbstractGriffonApplication
public void exit()
@Nonnull public Object createApplicationContainer(@Nonnull Map<String,Object> attributes)
createApplicationContainer
in interface GriffonApplication
public 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.Application
Exception
@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.Application
Exception
public void suspend()
suspend
in interface org.apache.pivot.wtk.Application
public void resume()
resume
in interface org.apache.pivot.wtk.Application
public 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()