A specialized {@code InvocationHandler} implementation for supportingimmutable configurations.
An instance of this class is constructed with a reference to a {@code Configuration} object. All method invocations (which stem from the{@code ImmutableConfiguration} interface) are delegated to this object. Thatway all functionality is actually backed by the underlying {@code Configuration} implementation, but because the associated proxy onlyimplements the {@code ImmutableConfiguration} interface manipulations are notpossible.
There is one caveat however: Some methods of the {@code ImmutableConfiguration} interface return an {@code Iterator} object.Using the iterator's {@code remove()} method it may be possible to removekeys from the underlying {@code Configuration} object. Therefore, in thesecases a specialized {@code Iterator} is returned which does not support theremove operation.
@version $Id: ImmutableConfigurationInvocationHandler.java 1624601 2014-09-12 18:04:36Z oheger $ @since 2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|