com.intel.gpe.clients.api.workflow
Class ActionScope

java.lang.Object
  extended by com.intel.gpe.clients.api.workflow.ActionScope
All Implemented Interfaces:
Action

public class ActionScope
extends java.lang.Object
implements Action

The action block equipped with fault handlers. The actions of these block may throw faults (exceptions). In such case the corresponding fault handler (if any) is invoked. The actions are objects of type Action. The fault handlers are the objects of type ActionScope.GenericCatch.

Version:
$Id: ActionScope.java,v 1.3 2006/02/17 08:15:37 serduk Exp $
Author:
Alexander Lukichev

Nested Class Summary
static class ActionScope.Catch
          Fault handler to catch faults with the (probably) specified QName.
static interface ActionScope.GenericCatch
          The generic interface for the fault handler.
 
Constructor Summary
ActionScope(Action action, ActionScope.GenericCatch[] faultHandlers)
           
 
Method Summary
 void emitCode(Scope scope, org.w3c.dom.Element target)
          Emit the piece of code corresponding to the current action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionScope

public ActionScope(Action action,
                   ActionScope.GenericCatch[] faultHandlers)
Method Detail

emitCode

public void emitCode(Scope scope,
                     org.w3c.dom.Element target)
              throws java.lang.Exception
Description copied from interface: Action
Emit the piece of code corresponding to the current action.

Specified by:
emitCode in interface Action
Parameters:
scope - The variable scope of the workflow
target - The XML DOM element to append the action code to
Throws:
java.lang.Exception - In a case of error


Copyright © 2008. All Rights Reserved.