Package com.avoka.fc.core.util
Class GroovyThreadListener
- java.lang.Object
-
- com.avoka.fc.core.util.GroovyThreadListener
-
- All Implemented Interfaces:
IGroovyThreadListener
public class GroovyThreadListener extends Object implements IGroovyThreadListener
Provides a Groovy Thread listener to setup execution context information for Groovy Scripts on a separate execution thread.- Since:
- 18.5.0
-
-
Constructor Summary
Constructors Constructor Description GroovyThreadListener(Client client)
Create a new Groovy Thread listener to be passed onto another execution thread.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
Called after the thread has been executed.void
init()
Called prior to the thread being executed.
-
-
-
Constructor Detail
-
GroovyThreadListener
public GroovyThreadListener(Client client)
Create a new Groovy Thread listener to be passed onto another execution thread.- Parameters:
client
- the secure context client (optional)
-
-
Method Detail
-
init
public void init()
Description copied from interface:IGroovyThreadListener
Called prior to the thread being executed.- Specified by:
init
in interfaceIGroovyThreadListener
-
destroy
public void destroy()
Description copied from interface:IGroovyThreadListener
Called after the thread has been executed.- Specified by:
destroy
in interfaceIGroovyThreadListener
-
-