Openwings API Documentation (v1.1)

net.openwings.container
Interface ProcessAccess


public interface ProcessAccess

This interface describes a callback that can be registered by a process (an Openwings Component or other Java program) with its container via the ContainerAccess interface. This callback gives the container the ability to obtain the process state.


Method Summary
 java.rmi.MarshalledObject getProcessState(boolean moveHint)
          This method is called by the container to pull the process state.
 void requestProcessStateUpdate()
          This method is called by the container to request a process state update.
 

Method Detail

getProcessState

public java.rmi.MarshalledObject getProcessState(boolean moveHint)
This method is called by the container to pull the process state.

Parameters:
moveHint - indicates whether the process is about to be moved.

requestProcessStateUpdate

public void requestProcessStateUpdate()
This method is called by the container to request a process state update. The process generates an update at its convenience by calling the ContainerAccess.updatedProcessState() method.


Openwings API Documentation (v1.1)