|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.TopiaContextFactory
public class TopiaContextFactory
| Field Summary | |
|---|---|
protected static Map<Properties,TopiaContextImpl> |
contextCache
Cache contenant tous les contexts deja créé. |
| Constructor Summary | |
|---|---|
TopiaContextFactory()
|
|
| Method Summary | |
|---|---|
static TopiaContext |
getContext()
Utilise par defaut le fichier de propriete TopiaContextImpl.properties |
static TopiaContext |
getContext(Properties config)
Methode static permettant de recuperer un context. |
static List<String> |
getContextOpened()
Permet de connaitre la liste des contexts encore en memoire, utile pour du debuggage |
static void |
removeContext(TopiaContext context)
Used when TopiaContext root is closed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Map<Properties,TopiaContextImpl> contextCache
| Constructor Detail |
|---|
public TopiaContextFactory()
| Method Detail |
|---|
public static List<String> getContextOpened()
public static void removeContext(TopiaContext context)
context - closed
public static TopiaContext getContext()
throws TopiaNotFoundException
TopiaNotFoundException - Si le fichier de configuration par defaut
n'est pas retrouvé.
public static TopiaContext getContext(Properties config)
throws TopiaNotFoundException
config - the configuration of the context
TopiaNotFoundException - if any pb
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||