public class SFCClientHook extends AbstractClientModuleHook implements ClientStepRegistryProvider
Constructor and Description |
---|
SFCClientHook() |
Modifier and Type | Method and Description |
---|---|
ClientStepRegistry |
getStepRegistry() |
void |
initializeScriptManager(ScriptManager manager)
Initialize a newly-instantiated script manager.
|
void |
startup(ClientContext context,
LicenseState activationState)
The main entrypoint for the module hook.
|
configureDeserializer, configureFunctionFactory, notifyActivationStateChanged, shutdown
public void startup(ClientContext context, LicenseState activationState) throws java.lang.Exception
ClientModuleHook
ClientModuleHook.shutdown()
will be called and a new hook will be instantiatedstartup
in interface ClientModuleHook
startup
in class AbstractClientModuleHook
java.lang.Exception
- if the module was not able to be initialized for the given project.public ClientStepRegistry getStepRegistry()
getStepRegistry
in interface ClientStepRegistryProvider
public void initializeScriptManager(ScriptManager manager)
ClientModuleHook
ScriptManager.addScriptModule(String, Object)
, which reflectively loads the public (instance and
static) java functions from the given object into the scripting environment, at the provided path.initializeScriptManager
in interface ClientModuleHook
initializeScriptManager
in class AbstractClientModuleHook