public abstract class AbstractPivotGriffonApplication extends AbstractGriffonApplication implements Application
Application.AboutHandler, Application.Adapter, Application.UncaughtExceptionHandler, Application.UnprocessedKeyHandlerEMPTY_ARGS, lockpcsPROPERTY_LOCALE, PROPERTY_PHASE| Constructor and Description |
|---|
AbstractPivotGriffonApplication() |
AbstractPivotGriffonApplication(String[] args) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterStartup() |
protected ApplicationBootstrapper |
createApplicationBootstrapper(Display display) |
Object |
createApplicationContainer(Map<String,Object> attributes) |
void |
exit() |
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(Display display,
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, 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(Display display, Map<String,String> properties) throws Exception
startup in interface ApplicationException@Nonnull protected ApplicationBootstrapper createApplicationBootstrapper(@Nonnull Display display)
protected void afterStartup()
public boolean shutdown(boolean optional)
throws Exception
shutdown in interface ApplicationExceptionpublic void suspend()
suspend in interface Applicationpublic void resume()
resume in interface 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 ApplicationContext.ResourceCacheDictionary getResourceCache()