| Package | Description |
|---|---|
| org.nuiton.jaxx.runtime | |
| org.nuiton.jaxx.runtime.context |
| Modifier and Type | Method and Description |
|---|---|
static <O> JAXXContextEntryDef<O> |
JAXXUtil.newContextEntryDef(Class<O> klass) |
static <O> JAXXContextEntryDef<O> |
JAXXUtil.newContextEntryDef(String name,
Class<?> klass) |
static <O> JAXXContextEntryDef<List<O>> |
JAXXUtil.newListContextEntryDef() |
static <O> JAXXContextEntryDef<List<O>> |
JAXXUtil.newListContextEntryDef(String name) |
static <K,V> JAXXContextEntryDef<Map<K,V>> |
JAXXUtil.newMapContextEntryDef(String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
JAXXUtil.checkJAXXContextEntries(JAXXContext context,
JAXXContextEntryDef<?>... defs)
Test if some entries exists in a given context and throw an
IllegalArgumentException if not.
|
static <T> T |
JAXXUtil.checkJAXXContextEntry(JAXXContext context,
JAXXContextEntryDef<T> def)
Test if a type of entry exists in a given context and throw an
IllegalArgumentException if not found.
|
| Modifier and Type | Field and Description |
|---|---|
protected static JAXXContextEntryDef<JAXXContext> |
DefaultJAXXContext.PARENT_CONTEXT_ENTRY
entry of the parent context
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<JAXXContextEntryDef<?>,Object> |
DefaultJAXXContext.data
les données contenues dans le context
|
protected Map<JAXXContextEntryDef<?>,String> |
DefaultApplicationContext.entryListened
Map of entries to watch associated with the property to fires if a
modification was found.
|
| Modifier and Type | Method and Description |
|---|---|
protected JAXXContextEntryDef<?> |
DefaultJAXXContext.getEntry(Class<?> klass,
String name) |
protected JAXXContextEntryDef<?> |
DefaultJAXXContext.getKey(String name,
Class<?> klass) |
| Modifier and Type | Method and Description |
|---|---|
<O> JAXXInitialContext |
JAXXInitialContext.add(JAXXContextEntryDef<O> def,
O value)
Register a named (or not) value in the context.
|
void |
DefaultApplicationContext.addPropertyChangeListener(JAXXContextEntryDef<?> entry,
String name,
PropertyChangeListener listener)
To add a listen modification of the given entry in the context.
|
protected void |
DefaultApplicationContext.fireEntryChanged(JAXXContextEntryDef<?> entryDef,
Object oldValue,
Object newValue) |
void |
DefaultApplicationContext.removePropertyChangeListener(JAXXContextEntryDef<?> entry,
String name,
PropertyChangeListener listener)
To remove a listen modification of the given entry in the context.
|
Copyright © 2008–2020 Ultreia.io. All rights reserved.