ColdBox Platform Version 3.7.0

coldbox.system.core.cf
Class ThreadWrapper

WEB-INF.cftags.component
        extended by coldbox.system.core.cf.ThreadWrapper

public class ThreadWrapper
extends WEB-INF.cftags.component

A thread wrapping utility


Constructor Summary
init(any target)
          Constructor
 
Method Summary
 any getTarget()
          Get target object
 string invoker(string method, [struct argCollection='[runtime expression]'])
          Executes a method on the target asynchronously
 any onMissingMethod(string missingMethodName, struct missingMethodArguments)
 void setTarget(any target)
          Set target object
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(any target)
Constructor

Parameters:
target - The target to wrap in this thread wrapper
Method Detail

getTarget

public any getTarget()
Get target object


invoker

public string invoker(string method, [struct argCollection='[runtime expression]'])
Executes a method on the target asynchronously

Parameters:
method - Name of the method to invoke
argCollection - Called with an argument collection struct

onMissingMethod

public any onMissingMethod(string missingMethodName, struct missingMethodArguments)

Parameters:
missingMethodName -
missingMethodArguments -

setTarget

public void setTarget(any target)
Set target object

Parameters:
target

ColdBox Platform Version 3.7.0