org.ow2.orchestra.facade
Interface InstanceManagementAPI

All Known Subinterfaces:
RemoteDeployerMBean

public interface InstanceManagementAPI

Manage a process instance.

Author:
Guillaume Renault

Method Summary
 void exit(ProcessInstanceUUID processInstanceUUID)
          Exit the given instance.
 void resume(ProcessInstanceUUID processInstanceUUID)
          Resume a previously suspend instance of a process.
 void suspend(ProcessInstanceUUID processInstanceUUID)
          Suspend the given instance of a process.
 

Method Detail

exit

void exit(ProcessInstanceUUID processInstanceUUID)
          throws InstanceNotFoundException
Exit the given instance.

Parameters:
processInstanceUUID - the Id of the instance to exit.
Throws:
InstanceNotFoundException - thrown if the given instance to exit is not found.

resume

void resume(ProcessInstanceUUID processInstanceUUID)
            throws InstanceNotFoundException
Resume a previously suspend instance of a process.

Parameters:
processInstanceUUID - the process instance UUID that identify the instance to resume.
Throws:
InstanceNotFoundException - thrown if the given instance to resume is not found.

suspend

void suspend(ProcessInstanceUUID processInstanceUUID)
             throws InstanceNotFoundException
Suspend the given instance of a process.

Parameters:
processInstanceUUID - the process instance UUID that identify the instance to suspend.
Throws:
InstanceNotFoundException - thrown if the given instance to suspend is not found.


Copyright © 2009 OW2 Consortium. All Rights Reserved.