public class LimaContext
extends jaxx.runtime.context.DefaultApplicationContext
| Modifier and Type | Field and Description |
|---|---|
static jaxx.runtime.context.JAXXContextEntryDef<LimaConfig> |
CONFIG_DEF |
static jaxx.runtime.context.JAXXContextEntryDef<org.nuiton.util.decorator.DecoratorProvider> |
DECORATOR_PROVIDER_DEF |
protected static LimaContext |
instance
l'intance partagée accessible après un appel à la méthode
init() |
static jaxx.runtime.context.JAXXContextEntryDef<MainView> |
MAIN_UI_ENTRY_DEF |
| Constructor and Description |
|---|
LimaContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
close the application's context.
|
static LimaContext |
get()
Récupération du contexte applicatif.
|
LimaConfig |
getConfig() |
static LimaContext |
getContext() |
org.nuiton.util.decorator.DecoratorProvider |
getDecoratorProvider() |
MainView |
getMainUI() |
static LimaContext |
init()
Permet l'initialisation du contexte applicatif et positionne
l'instance partagée.
|
void |
initI18n(LimaConfig config) |
static boolean |
isInit() |
addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListener, fireEntryChanged, fireEntryChanged, firePropertyChange, getContextValue, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, newAccess, newAccess, newInstance, removeContextValue, removePropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, setContextValueprotected static LimaContext instance
init()public static jaxx.runtime.context.JAXXContextEntryDef<MainView> MAIN_UI_ENTRY_DEF
public static jaxx.runtime.context.JAXXContextEntryDef<org.nuiton.util.decorator.DecoratorProvider> DECORATOR_PROVIDER_DEF
public static jaxx.runtime.context.JAXXContextEntryDef<LimaConfig> CONFIG_DEF
public static boolean isInit()
true si le context a été initialisé via la méthode
init(), public static LimaContext init() throws IllegalStateException
IllegalStateException - si un contexte applicatif a déja été positionné.public static LimaContext get() throws IllegalStateException
IllegalStateException - si le contexte n'a pas été initialisé via
la méthode init()public LimaConfig getConfig()
public org.nuiton.util.decorator.DecoratorProvider getDecoratorProvider()
public void initI18n(LimaConfig config)
public MainView getMainUI()
public void close()
throws Exception
Exception - if any pb while closingpublic static LimaContext getContext()
Copyright © 2008–2013 CodeLutin. All rights reserved.