Class AbstractDeviceModuleHook
java.lang.Object
com.inductiveautomation.ignition.gateway.model.AbstractGatewayModuleHook
com.inductiveautomation.ignition.gateway.opcua.server.api.AbstractDeviceModuleHook
- All Implemented Interfaces:
GatewayModuleHook
A partial implementation of
GatewayModuleHook for modules that provide
DeviceExtensionPoints.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable GatewayContextGet theGatewayContext.protected abstract List<DeviceExtensionPoint<?>>Get theDeviceExtensionPoints provided by this module.final List<ExtensionPoint<?>>voidsetup(GatewayContext context) Subclasses that override should callsuper.setup(context).voidshutdown()No-op, subclasses may override.voidstartup(LicenseState activationState) No-op, subclasses may override.Methods inherited from class com.inductiveautomation.ignition.gateway.model.AbstractGatewayModuleHook
configureDeserializer, configureFunctionFactory, configureSerializer, getRpcImplementation, initializeScriptManager, notifyLicenseStateChangedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.gateway.model.GatewayModuleHook
getMountedResourceFolder, getMountPathAlias, getRecordMigrationStrategies, isFreeModule, isMakerEditionCompatible, mountRouteHandlers, onMountedResourceRequest
-
Constructor Details
-
AbstractDeviceModuleHook
public AbstractDeviceModuleHook()
-
-
Method Details
-
setup
Subclasses that override should callsuper.setup(context).Called before register. The module can create data structures, loggers, etc. The module should not reach out to other parts of the system and expect them to be ready or created yet.
-
startup
No-op, subclasses may override.Called to initialize the module. Will only be called once. Persistence interface is available, but only in read-only mode.
-
shutdown
public void shutdown()No-op, subclasses may override.Called to shutdown this module. Note that this instance will never be started back up - a new one will be created if a restart is desired
-
getExtensionPoints
- Returns:
- a list of any extension points this module wants to add to any extension point systems. This list will be a mixed-type list. Extension point managers will filter through the list and find the types that they are interested in.
-
getContext
Get theGatewayContext.May be
nullifsetup(GatewayContext)has not been called yet.- Returns:
- the
GatewayContext.
-
getDeviceExtensionPoints
Get theDeviceExtensionPoints provided by this module.- Returns:
- a List of
DeviceExtensionPoints provided by this module.
-