public abstract class AbstractPivotGriffonApplication extends AbstractGriffonApplication implements Application
Application.AboutHandler, Application.Adapter, Application.UncaughtExceptionHandler, Application.UnprocessedKeyHandler
EMPTY_ARGS, lock
pcs
PROPERTY_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, 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(Display display, Map<String,String> properties) throws Exception
startup
in interface Application
Exception
@Nonnull protected ApplicationBootstrapper createApplicationBootstrapper(@Nonnull Display display)
protected void afterStartup()
public boolean shutdown(boolean optional) throws Exception
shutdown
in interface Application
Exception
public void suspend()
suspend
in interface Application
public void resume()
resume
in interface 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 ApplicationContext.ResourceCacheDictionary getResourceCache()