gov.nasa.arc.brahms.common.rt
Class MethodInvocationCtx
java.lang.Object
gov.nasa.arc.brahms.common.rt.BrahmsObjectCtx
gov.nasa.arc.brahms.common.rt.MethodInvocationCtx
- All Implemented Interfaces:
- IBrahmsObjectCtx, IMethodInvocationCtx, IRuntimeConstants, java.io.Serializable
- Direct Known Subclasses:
- VMMethodInvocationCtx
public class MethodInvocationCtx
- extends BrahmsObjectCtx
- implements IMethodInvocationCtx
The MethodInvocationCtx is the context for an executed method invocation operation. It
defines the method invocation operation that was executed, what frame
executed the operation.
- Version:
- $Revision: 1.1 $ $Date: 2009/11/23 18:43:07 $ $Author: rnado $
- Author:
- Bob Nado
- See Also:
- Serialized Form
Fields inherited from interface gov.nasa.arc.brahms.common.rt.IRuntimeConstants |
ABORTED, ACTIVE, ACTIVITY, AVAILABLE, COMPLETED, CONSEQUENCE, DETECTABLE, ENDED, ENGINE, EXTERNAL_AGENT, FROM, IMPASSED, INITIAL, INTERRUPTED, JAVA_PROPERTY, sABORTED, sACTIVE, sAVAILABLE, sCOMPLETED, sENDED, sIMPASSED, sINTERRUPTED, sUNAVAILABLE, TO, TRANSFER, UNAVAILABLE |
Method Summary |
IFrameCtx |
getParent()
Returns the parent frame context in which this method invocation operation
was executed. |
void |
setParent(IFrameCtx parent)
Sets the parent frame context in which this method invocation operation was
executed. |
java.lang.String |
toString()
Returns the string representation of the method invocation context,
returning the id and the method invocation itself. |
Methods inherited from class gov.nasa.arc.brahms.common.rt.BrahmsObjectCtx |
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setContextFor, setEndTime, setID, setStartTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface gov.nasa.arc.brahms.common.rt.IBrahmsObjectCtx |
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setEndTime, setID, setStartTime |
MethodInvocationCtx
public MethodInvocationCtx(MethodInvocation invocation)
- Constructor, creates a new method invocation context for the specified
method invocation operation.
- Parameters:
invocation
- the executed MethodInvocation operation for which this context is the context
setParent
public void setParent(IFrameCtx parent)
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
- Sets the parent frame context in which this method invocation operation was
executed.
- Specified by:
setParent
in interface IMethodInvocationCtx
- Parameters:
parent
- the IFrameCtx
- Throws:
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if a null parent is specified
getParent
public IFrameCtx getParent()
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
- Returns the parent frame context in which this method invocation operation
was executed.
- Specified by:
getParent
in interface IMethodInvocationCtx
- Returns:
- IFrameCtx the parent frame
- Throws:
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if no parent is specified
toString
public java.lang.String toString()
- Returns the string representation of the method invocation context,
returning the id and the method invocation itself.
- Overrides:
toString
in class java.lang.Object
- Returns:
- String the string representation of the method invocation context
Copyright © 1997-2012 All Rights Reserved.