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.

Version:
9 April 2001
Author:
Ron van Hoof

Method Summary
 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

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.


Copyright © 1997-2012 All Rights Reserved.