Package com.zfabrik.workers.home
Class WorkerUtils
java.lang.Object
com.zfabrik.workers.home.WorkerUtils
Some utility methods around worker process handling
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getWorkerComponentName(String workerName)
static IWorkerProcess
getWorkerProcess(String workerName)
Retrieve a worker process instance (to be called from home only).
-
Constructor Details
-
WorkerUtils
public WorkerUtils()
-
-
Method Details
-
getWorkerComponentName
-
getWorkerProcess
Retrieve a worker process instance (to be called from home only).- Parameters:
id
- worker process component of fully qualified worker name- Returns:
- worker process handle or
null
if not found
-