public interface GriffonApplication extends Observable
| Modifier and Type | Field and Description | 
|---|---|
| static String | PROPERTY_LOCALE | 
| static String | PROPERTY_PHASE | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addShutdownHandler(ShutdownHandler handler)Registers a ShutdownHandler on this application | 
| boolean | canShutdown()Queries any available ShutdownHandlers. | 
| Object | createApplicationContainer(Map<String,Object> attributes) | 
| ActionManager | getActionManager() | 
| AddonManager | getAddonManager() | 
| ApplicationClassLoader | getApplicationClassLoader() | 
| ArtifactManager | getArtifactManager() | 
| Configuration | getConfiguration() | 
| EventRouter | getEventRouter() | 
| Injector<?> | getInjector() | 
| Locale | getLocale()Gets the application locale. | 
| Logger | getLog()Returns a Logger instance suitable for this application. | 
| MessageSource | getMessageSource() | 
| MVCGroupManager | getMvcGroupManager() | 
| ApplicationPhase | getPhase()Returns the current phase. | 
| ResourceHandler | getResourceHandler() | 
| ResourceInjector | getResourceInjector() | 
| ResourceResolver | getResourceResolver() | 
| String[] | getStartupArgs()Returns the arguments set on the command line (if any). | 
| UIThreadManager | getUIThreadManager() | 
| <W> WindowManager<W> | getWindowManager() | 
| void | initialize()Executes the 'Initialize' life cycle phase. | 
| void | ready()Executes the 'Ready' life cycle phase. | 
| void | removeShutdownHandler(ShutdownHandler handler)Removes a ShutdownHandler from this application | 
| void | setLocale(Locale locale)Sets the application locale. | 
| void | setLocaleAsString(String locale)Sets the application locale. | 
| boolean | shutdown()Executes the 'Shutdown' life cycle phase. | 
| void | startup()Executes the 'Startup' life cycle phase. | 
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListenerstatic final String PROPERTY_LOCALE
static final String PROPERTY_PHASE
@Nonnull Object createApplicationContainer(@Nonnull Map<String,Object> attributes)
@Nonnull ApplicationClassLoader getApplicationClassLoader()
@Nonnull Configuration getConfiguration()
@Nonnull UIThreadManager getUIThreadManager()
@Nonnull EventRouter getEventRouter()
@Nonnull ArtifactManager getArtifactManager()
@Nonnull ActionManager getActionManager()
@Nonnull AddonManager getAddonManager()
@Nonnull MVCGroupManager getMvcGroupManager()
@Nonnull MessageSource getMessageSource()
@Nonnull ResourceResolver getResourceResolver()
@Nonnull ResourceHandler getResourceHandler()
@Nonnull ResourceInjector getResourceInjector()
@Nonnull <W> WindowManager<W> getWindowManager()
void initialize()
void startup()
void ready()
boolean shutdown()
boolean canShutdown()
void addShutdownHandler(@Nonnull ShutdownHandler handler)
handler - the shutdown handler to be registered; null and/or
                duplicated values should be ignoredvoid removeShutdownHandler(@Nonnull ShutdownHandler handler)
handler - the shutdown handler to be removed; null and/or
                duplicated values should be ignored@Nonnull Locale getLocale()
void setLocale(@Nonnull Locale locale)
This is a bound property.
locale - the Locale value to usevoid setLocaleAsString(@Nullable String locale)
This is a bound property.
locale - a literal representation of a Locale@Nonnull ApplicationPhase getPhase()
@Nonnull String[] getStartupArgs()