| Package | Description |
|---|---|
| net.sf.mmm.util.context.api |
Provides the API for a generic context.
|
| net.sf.mmm.util.context.base |
Provides the base-implementation of the
Context-API. |
| net.sf.mmm.util.context.impl |
Provides the implementation of the
Context-API. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableGenericContext
This is the interface for a
context that can be modified. |
| Modifier and Type | Method and Description |
|---|---|
GenericContext |
MutableGenericContext.getImmutableContext()
This method gets an immutable proxy of this context that can NOT be casted to
MutableGenericContext. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractGenericContextProxy
This is an abstract base implementation of the
GenericContext interface
that delegates to another instance. |
class |
AbstractMutableGenericContext
This class is the basic implementation of the
GenericContext interface. |
class |
ImmutableGenericContext
This is an implementation of the
GenericContext interface that is an
immutable view that delegates to another instance. |
| Modifier and Type | Field and Description |
|---|---|
private GenericContext |
ImmutableGenericContext.delegate
the
"delegate instance" this proxy points to. |
private GenericContext |
AbstractMutableGenericContext.immutableContext
the parent context
|
private GenericContext |
AbstractMutableGenericContext.parent
the parent context
|
| Modifier and Type | Method and Description |
|---|---|
protected GenericContext |
ImmutableGenericContext.getContext()
This method gets the delegate instance this proxy points to.
|
protected abstract GenericContext |
AbstractGenericContextProxy.getContext()
This method gets the delegate instance this proxy points to.
|
GenericContext |
AbstractMutableGenericContext.getImmutableContext()
This method gets an immutable proxy of this context that can NOT be casted to
MutableGenericContext. |
| Constructor and Description |
|---|
AbstractMutableGenericContext(MapFactory<? extends Map> mapFactory,
GenericContext parentContext)
The constructor for a
sub-context. |
ImmutableGenericContext(GenericContext environment)
The constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MutableGenericContextImpl
This is the implementation of the
MutableGenericContext interface. |
| Constructor and Description |
|---|
MutableGenericContextImpl(MapFactory<? extends Map> mapFactory,
GenericContext parentContext)
The constructor for a
sub-context. |
MutableGenericContextImpl(MapFactory<? extends Map> mapFactory,
GenericContext parentContext,
GenericValueConverter<Object> valueConverter)
The constructor for a
sub-context. |
Copyright © 2001–2015 mmm-Team. All rights reserved.