gov.nasa.arc.brahms.vm.api.common
Interface IContext


public interface IContext

The IContext interface is an interface to a context object that maintains context information relevant for certain API calls.


Method Summary
 gov.nasa.arc.brahms.vm.data.IVMInstance getOwner()
          Returns the IVMInstance that owns this context
 void setContextInformation(java.lang.Object obj)
          Sets context information in the specified object.
 

Method Detail

setContextInformation

void setContextInformation(java.lang.Object obj)
                           throws ExternalException
Sets context information in the specified object.

Parameters:
obj - the Object in which to set context information
Throws:
ExternalException - if the specified object is not allowed to receive context information.

getOwner

gov.nasa.arc.brahms.vm.data.IVMInstance getOwner()
                                                 throws ExternalException
Returns the IVMInstance that owns this context

Returns:
IVMInstance the owner of the context
Throws:
ExternalException - if there is an error retrieving the owner.