org.chorem.lima
Class LimaContext
java.lang.Object
jaxx.runtime.context.DefaultJAXXContext
jaxx.runtime.context.DefaultApplicationContext
org.chorem.lima.LimaContext
- All Implemented Interfaces:
- jaxx.runtime.JAXXContext
public class LimaContext
- extends jaxx.runtime.context.DefaultApplicationContext
- Author:
- chemit
| Nested classes/interfaces inherited from class jaxx.runtime.context.DefaultApplicationContext |
jaxx.runtime.context.DefaultApplicationContext.AutoLoad, jaxx.runtime.context.DefaultApplicationContext.MethodAccess |
| Fields inherited from class jaxx.runtime.context.DefaultApplicationContext |
entryListened, forwards, pcs |
| Fields inherited from class jaxx.runtime.context.DefaultJAXXContext |
data, PARENT_CONTEXT_ENTRY, parentContext |
| Methods inherited from class jaxx.runtime.context.DefaultApplicationContext |
addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListener, fireEntryChanged, fireEntryChanged, firePropertyChange, getContextValue, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, newAccess, newAccess, newInstance, removeContextValue, removePropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, setContextValue |
| Methods inherited from class jaxx.runtime.context.DefaultJAXXContext |
clear, getContextValue, getEntry, getKey, getKeys, getParentContext, remove0, removeContextValue, setContextValue, setParentContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected static LimaContext instance
- l'intance partagée accessible après un appel à la méthode
init()
MAIN_UI_ENTRY_DEF
public static jaxx.runtime.context.JAXXContextEntryDef<MainView> MAIN_UI_ENTRY_DEF
LimaContext
public LimaContext()
isInit
public static boolean isInit()
- Returns:
true si le context a été initialisé via la méthode
init(), false autrement.
init
public static LimaContext init()
throws IllegalStateException
- Permet l'initialisation du contexte applicatif et positionne
l'instance partagée.
Note : Cette méthode ne peut être appelée qu'une seule fois.
- Returns:
- l'instance partagée
- Throws:
IllegalStateException - si un contexte applicatif a déja été positionné.
get
public static LimaContext get()
throws IllegalStateException
- Récupération du contexte applicatif.
- Returns:
- l'instance partagé du contexte.
- Throws:
IllegalStateException - si le contexte n'a pas été initialisé via
la méthode init()
getConfig
public LimaConfig getConfig()
initI18n
public void initI18n(LimaConfig config)
getMainUI
public MainView getMainUI()
close
public void close()
throws Exception
- close the application's context.
- Throws:
Exception - if any pb while closing
getContext
public static LimaContext getContext()
Copyright © 2008-2011 CodeLutin. All Rights Reserved.