net.sf.mmm.util.context.base
Class ImmutableGenericContext
java.lang.Object
net.sf.mmm.util.context.base.AbstractGenericContextProxy
net.sf.mmm.util.context.base.ImmutableGenericContext
- All Implemented Interfaces:
- GenericContext
public class ImmutableGenericContext
- extends AbstractGenericContextProxy
This is an implementation of the
GenericContext
interface that is an
immutable view that delegates to another instance.
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
private final GenericContext delegate
- the
"delegate instance"
this proxy points to.
ImmutableGenericContext
public ImmutableGenericContext(GenericContext environment)
- The constructor.
- Parameters:
environment
- is the "delegate instance"
this
proxy points to.
getContext
protected GenericContext getContext()
- This method gets the delegate instance this proxy points to.
- Specified by:
getContext
in class AbstractGenericContextProxy
- Returns:
- the real environment behind this proxy.
Copyright © 2001-2010 mmm-Team. All Rights Reserved.