jaxx.demo.validation
Class RunDemo

java.lang.Object
  extended by jaxx.demo.validation.RunDemo

public class RunDemo
extends Object

Since:
2.0.2
Author:
tchemit

Nested Class Summary
protected static class RunDemo.ShutdownHook
           
 
Field Summary
protected static jaxx.runtime.context.DefaultApplicationContext context
          The singleton instance of the main context
 
Constructor Summary
RunDemo()
           
 
Method Summary
static void buildConfigUI(jaxx.runtime.swing.editor.config.ConfigUIHelper helper)
           
static jaxx.runtime.context.DefaultApplicationContext get()
          Récupération du contexte applicatif.
protected static jaxx.runtime.context.DefaultApplicationContext init()
          Permet l'initialisation du contexte applicatif et positionne l'context partagée.
protected static boolean isInit()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected static jaxx.runtime.context.DefaultApplicationContext context
The singleton instance of the main context

Constructor Detail

RunDemo

public RunDemo()
Method Detail

main

public static void main(String[] args)

buildConfigUI

public static void buildConfigUI(jaxx.runtime.swing.editor.config.ConfigUIHelper helper)

isInit

protected static boolean isInit()
Returns:
true si le context a été initialisé via la méthode init(), false autrement.

init

protected static jaxx.runtime.context.DefaultApplicationContext init()
                                                              throws IllegalStateException
Permet l'initialisation du contexte applicatif et positionne l'context partagée.

Note : Cette méthode ne peut être appelée qu'une seule fois.

Returns:
l'context partagée
Throws:
IllegalStateException - si un contexte applicatif a déja été positionné.

get

public static jaxx.runtime.context.DefaultApplicationContext get()
                                                          throws IllegalStateException
Récupération du contexte applicatif.

Returns:
l'context partagé du contexte.
Throws:
IllegalStateException - si le contexte n'a pas été initialisé via la méthode init()


Copyright © 2008-2011 CodeLutin. All Rights Reserved.