public class ReportingClientHook extends AbstractClientModuleHook
Constructor and Description |
---|
ReportingClientHook() |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(ILicenseAwareComponent component) |
void |
configureDeserializer(XMLDeserializer deserializer)
Called when an XMLDeserializer is created.
|
void |
initializeScriptManager(ScriptManager manager)
Initialize a newly-instantiated script manager.
|
void |
notifyActivationStateChanged(LicenseState licenseState)
Notifies this client module that it's license state has changed.
|
void |
removeComponent(ILicenseAwareComponent component) |
protected void |
setupRM14() |
void |
shutdown()
Called when the module is shut down.
|
void |
startup(ClientContext context,
LicenseState activationState)
The main entrypoint for the module hook.
|
configureFunctionFactory
public void configureDeserializer(XMLDeserializer deserializer)
ClientModuleHook
configureDeserializer
in interface ClientModuleHook
configureDeserializer
in class AbstractClientModuleHook
public void notifyActivationStateChanged(LicenseState licenseState)
ClientModuleHook
notifyActivationStateChanged
in interface ClientModuleHook
notifyActivationStateChanged
in class AbstractClientModuleHook
public void shutdown()
ClientModuleHook
shutdown
in interface ClientModuleHook
shutdown
in class AbstractClientModuleHook
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.protected void setupRM14()
public void addComponent(ILicenseAwareComponent component)
public void removeComponent(ILicenseAwareComponent component)
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