ColdBox Platform Version 2.6.3

coldbox.system.util
Class ThreadWrapper

WEB-INF.cftags.component
        extended by coldbox.system.util.ThreadWrapper

public class ThreadWrapper
extends WEB-INF.cftags.component

A thread wrapping utility


Constructor Summary
init(any target)
          Constructor
 
Method Summary
private any getThread()
 any gettarget()
          Get target
 string invoker(string method, [struct argCollection='[runtime expression]'])
          Executes a method on the target asynchronously
private boolean isInsideCFThread()
          See if the running thread is inside a cfthread.
private void setThread(any Thread)
 void settarget(any target)
          Set target
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(any target)

Method Detail

getThread

private any getThread()


gettarget

public any gettarget()
Get target


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

isInsideCFThread

private boolean isInsideCFThread()
See if the running thread is inside a cfthread.


setThread

private void setThread(any Thread)

Parameters:
Thread

settarget

public void settarget(any target)
Set target

Parameters:
target

ColdBox Platform Version 2.6.3