org.objectweb.kilim.model.mapping
Class DefaultMappingContext
java.lang.Object
org.objectweb.kilim.model.mapping.DefaultMappingContext
- All Implemented Interfaces:
- MappingContext, java.io.Serializable
- public class DefaultMappingContext
- extends java.lang.Object
- implements MappingContext, java.io.Serializable
A mapping context is a container for all informations useful when performing the effective task associated to providers and transformers.
This simple implementation provides two stacks : (1) callStack, a stack automatically managed by the Kilim infrastructure, which contains
the RtComponentSources mirroring on the execution stack, (2) contextstack, a stack specifically managed by mappers.
calls to getValue() and execute() methods.
- Author:
- horn
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
callStack
private java.util.Stack callStack
contextStack
private java.util.Stack contextStack
currentElement
private ComponentElement currentElement
DefaultMappingContext
public DefaultMappingContext()
- Method DefaultMappingContext.
getContextStack
public java.util.Stack getContextStack()
- Method getContextStack. It returns the contextStack.
- Specified by:
getContextStack
in interface MappingContext
- Returns:
- Stack
getCallStack
public java.util.Stack getCallStack()
- Method getCallStack. This method returns the callStack.
- Specified by:
getCallStack
in interface MappingContext
- Returns:
- Stack