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

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

public abstract class Destroy
extends java.lang.Object
implements Action

The complex action for performing destruction of a WSRF resource. The action generates an invocation of WS-ResourceLifetime Destroy operation.

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

Constructor Summary
Destroy(PartnerLink resource, com.intel.gpe.util.xml.Namespaces namespaces)
          Create the destroy action.
 
Method Summary
 void emitCode(Scope scope, org.w3c.dom.Element target)
          Emit the piece of code corresponding to the current action.
protected abstract  javax.xml.namespace.QName getDestroyPortType()
           
protected abstract  VariableValue getDestroyRequestValue()
           
protected abstract  VariableValue getDestroyResponseValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Destroy

public Destroy(PartnerLink resource,
               com.intel.gpe.util.xml.Namespaces namespaces)
Create the destroy action.

Parameters:
resource - The partner link to the resource to be destroyed
namespaces - The namespaces
Method Detail

getDestroyResponseValue

protected abstract VariableValue getDestroyResponseValue()

getDestroyRequestValue

protected abstract VariableValue getDestroyRequestValue()

getDestroyPortType

protected abstract javax.xml.namespace.QName getDestroyPortType()

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.