Class AbstractGatewayModuleHook
java.lang.Object
com.inductiveautomation.ignition.gateway.model.AbstractGatewayModuleHook
- All Implemented Interfaces:
- GatewayModuleHook
- Direct Known Subclasses:
- GatewayHook,- ReportingGatewayHook,- SfcGatewayHook
Base class for all gateway module hook implementations. All methods are given empty implementations. It is expected that subclasses will override any methods that they wish to give real implementations.
 Best practice is to subclass this class rather than implement GatewayModuleHook directly, so that when new
 methods get added to the interface, your module automatically inherits an empty implementation of the new method
 rather than breaking with a NoSuchMethodError.
 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidconfigureDeserializer(XMLDeserializer deserializer) Provides the module a chance to configure the deserializer with any custom handlersvoidProvides the module with an opportunity to define its own expression functionsvoidconfigureSerializer(XMLSerializer serializer) Provides the module a chance to add serialization delegates to the serializer custom for classes that might be encountered when serializing objects provided by this moduleList<? extends IHomepagePanelDescriptor>A list (may be null or empty) of homepage panels that this module providesgetRPCHandler(ClientReqSession session, String projectName) A class whose functions will become exposed automatically through reflection to the Designer and the Client through RPCA list (may be null or empty) of panels to display in the status sectionvoidinitializeScriptManager(ScriptManager manager) Initialize a newly-instantiated script manager.voidnotifyLicenseStateChanged(LicenseState licenseState) Notify module hook when the license state has changed.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.gateway.model.GatewayModuleHookgetConfigCategories, getConfigOverviewContributor, getConfigPanels, getMountedResourceFolder, getMountPathAlias, getStatusOverviewContributor, initializeResourceTypeAdapterRegistry, isFreeModule, isMakerEditionCompatible, mountRouteHandlers, onMountedResourceRequest, setup, shutdown, startup, updateSystemMap
- 
Constructor Details- 
AbstractGatewayModuleHookpublic AbstractGatewayModuleHook()
 
- 
- 
Method Details- 
getRPCHandlerDescription copied from interface:GatewayModuleHookA class whose functions will become exposed automatically through reflection to the Designer and the Client through RPC- Specified by:
- getRPCHandlerin interface- GatewayModuleHook
 
- 
getHomepagePanelsDescription copied from interface:GatewayModuleHookA list (may be null or empty) of homepage panels that this module provides- Specified by:
- getHomepagePanelsin interface- GatewayModuleHook
 
- 
getStatusPanelsDescription copied from interface:GatewayModuleHookA list (may be null or empty) of panels to display in the status section- Specified by:
- getStatusPanelsin interface- GatewayModuleHook
 
- 
configureDeserializerDescription copied from interface:GatewayModuleHookProvides the module a chance to configure the deserializer with any custom handlers- Specified by:
- configureDeserializerin interface- GatewayModuleHook
 
- 
configureSerializerDescription copied from interface:GatewayModuleHookProvides the module a chance to add serialization delegates to the serializer custom for classes that might be encountered when serializing objects provided by this module- Specified by:
- configureSerializerin interface- GatewayModuleHook
 
- 
configureFunctionFactoryDescription copied from interface:GatewayModuleHookProvides the module with an opportunity to define its own expression functions- Specified by:
- configureFunctionFactoryin interface- GatewayModuleHook
 
- 
notifyLicenseStateChangedDescription copied from interface:GatewayModuleHookNotify module hook when the license state has changed. This could only contain changes for the module or it could contain a change to the platform license (version, restrictions such as expiration date, sqltag count...)- Specified by:
- notifyLicenseStateChangedin interface- GatewayModuleHook
 
- 
initializeScriptManagerDescription copied from interface:GatewayModuleHookInitialize a newly-instantiated script manager. This will be called exactly once for any givenScriptManagerinstance. Usually this will involve callingScriptManager.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.This function may be called before GatewayModuleHook.startup(LicenseState), but never beforeGatewayModuleHook.setup(GatewayContext).- Specified by:
- initializeScriptManagerin interface- GatewayModuleHook
 
 
-