Groovy Documentation

org.linkedin.glu.agent.impl.script
[Groovy] Interface ScriptFactory


interface ScriptFactory

Encapsulates the notion of script factory so that we can recreate the scripts at will.

Authors:
ypujante@linkedin.com


Method Summary
java.lang.Object createScript(ScriptConfig scriptConfig)

Creates a script

void destroyScript(ScriptConfig scriptConfig)

Called to destroy the script

java.lang.Object toExternalRepresentation()

@returns an external representation of the factory

 

Method Detail

createScript

java.lang.Object createScript(ScriptConfig scriptConfig)
Creates a script


destroyScript

void destroyScript(ScriptConfig scriptConfig)
Called to destroy the script


toExternalRepresentation

java.lang.Object toExternalRepresentation()
returns:
an external representation of the factory


 

Groovy Documentation