org.globus.cog.karajan.workflow.nodes
Class JavaMethodInvocationNode

java.lang.Object
  extended byorg.globus.cog.karajan.workflow.nodes.FlowNode
      extended byorg.globus.cog.karajan.workflow.nodes.FlowContainer
          extended byorg.globus.cog.karajan.workflow.nodes.Sequential
              extended byorg.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
                  extended byorg.globus.cog.karajan.workflow.nodes.SequentialWithArguments
                      extended byorg.globus.cog.karajan.workflow.nodes.functions.AbstractFunction
                          extended byorg.globus.cog.karajan.workflow.nodes.JavaMethodInvocationNode
All Implemented Interfaces:
EventListener, ExtendedFlowElement, FlowElement, LoadListener

public class JavaMethodInvocationNode
extends AbstractFunction


Nested Class Summary
 
Nested classes inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
FlowNode.FNTP
 
Field Summary
protected static Map TYPES
           
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
commonArguments, QUOTED
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.Sequential
INDEX
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.FlowContainer
CALLER
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
debug, startCount, TEXT, threadTracker
 
Constructor Summary
JavaMethodInvocationNode()
           
 
Method Summary
protected static Object convert(Class type, Object src)
           
protected static Object convert(Class type, Object src, boolean array)
           
 Object function(VariableStack stack)
           
static Class getClass(String type)
           
static String prettyPrintArray(Object[] array)
           
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction
executeSimple, isSimple, post, setSimple, setValue
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.SequentialWithArguments
executeChildren
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
argumentsEvaluated, checkArguments, getArgument, getArgument, getArgumentCount, getArgumentIndex, getArgumentNames, getArguments, getMaxArgIndex, getNonpropargs, getPropargs, getQuotedArgs, getSortedArgs, getVargs, getVargsAsArray, hasArgument, hasNestedArguments, hasVariableArguments, initializeArgs, initializeStatic, newNameBindingVariableArguments, newVariableArguments, notificationEvent, pre, processArguments, setArguments, setArguments, setHasVargs, setNestedArgs, setNonpropargs, setQuotedArgs, setVargs
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.Sequential
executeSingle, exit, moreToExecute, startNext
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowContainer
addChannel, execute, isOptimizable, setOptimize
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
abort, acceptsInlineText, addElement, checkClass, checkCompleted, checkFailed, complete, controlEvent, copy, echo, echo, elementCount, elements, end, event, executeErrorHandler, expandProperty, expandProperty, expandPropertyAsString, fail, fail, failIfNotDefined, failIfNull, failIfNull, failImmediately, failImmediately, failImmediately, fireControlEvent, fireMonitoringEvent, fireNotificationEvent, fireStatusMonitoringEvent, get_locator, getBooleanProperty, getBooleanProperty, getCanonicalType, getElement, getElementType, getIntProperty, getIntProperty, getParent, getProjectNode, getProperty, getStringProperty, getTreeProperty, getVar, hasFrame, hashCode, hasProperty, isCheckpointable, isSystemProperty, loadComplete, loadStarted, monitoringEvent, propertyNames, removeProperty, restart, restartElement, ret, ret, set_locator, setAcceptsInlineText, setCheckpointable, setElementType, setFrame, setParent, setProperty, setProperty, setProperty, start, startElement, startElement, toString, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPES

protected static final Map TYPES
Constructor Detail

JavaMethodInvocationNode

public JavaMethodInvocationNode()
Method Detail

function

public Object function(VariableStack stack)
                throws ExecutionException
Specified by:
function in class AbstractFunction
Throws:
ExecutionException

getClass

public static Class getClass(String type)
                      throws ExecutionException
Throws:
ExecutionException

convert

protected static Object convert(Class type,
                                Object src,
                                boolean array)
                         throws ExecutionException
Throws:
ExecutionException

convert

protected static Object convert(Class type,
                                Object src)
                         throws ExecutionException
Throws:
ExecutionException

prettyPrintArray

public static String prettyPrintArray(Object[] array)