com.jurismarches.vradi
Class VradiContext
java.lang.Object
jaxx.runtime.context.DefaultJAXXContext
jaxx.runtime.context.DefaultApplicationContext
com.jurismarches.vradi.VradiContext
- All Implemented Interfaces:
- jaxx.runtime.JAXXContext
public class VradiContext
- extends jaxx.runtime.context.DefaultApplicationContext
| 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 |
MAIN_UI_ENTRY_DEF
public static final jaxx.runtime.context.JAXXContextEntryDef<VradiMainUI> MAIN_UI_ENTRY_DEF
OFFERT_LIST_UI_ENTRY_DEF
public static final jaxx.runtime.context.JAXXContextEntryDef<OfferListUI> OFFERT_LIST_UI_ENTRY_DEF
ADMIN_UI_ENTRY_DEF
public static final jaxx.runtime.context.JAXXContextEntryDef<AdminPopupUI> ADMIN_UI_ENTRY_DEF
EMAIL_UI_ENTRY_DEF
public static final jaxx.runtime.context.JAXXContextEntryDef<EmailPopupUI> EMAIL_UI_ENTRY_DEF
instance
protected static VradiContext instance
- l'intance partagée accessible après un appel à la méthode
init()
lock
protected final Object lock
- Un objet pour bloquer le context
VradiContext
protected VradiContext()
isInit
public static boolean isInit()
- Returns:
true si le context a été initialisé via la méthode
init(), false autrement.
init
public static VradiContext 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 VradiContext 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()
lock
public void lock()
throws InterruptedException
- Throws:
InterruptedException
releaseLock
public void releaseLock()
close
public void close()
throws Exception
- close the application's context.
- Throws:
Exception - if any pb while closing
getVradiConfig
public VradiConfig getVradiConfig()
getDecoratorProvider
public jaxx.runtime.decorator.DecoratorProvider getDecoratorProvider()
- TODO EC20100515 : explain this code !
- Returns:
getDecoratorProviderListCellRenderer
public jaxx.runtime.swing.renderer.DecoratorProviderListCellRenderer getDecoratorProviderListCellRenderer()
- TODO EC20100515 : explain this code !
- Returns:
Copyright © 2009-2010 JurisMarches. All Rights Reserved.