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
DeviceExtensionPoint
s.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable GatewayContext
Get theGatewayContext
.protected abstract List<DeviceExtensionPoint<?>>
Get theDeviceExtensionPoint
s provided by this module.final List<ExtensionPoint<?>>
void
setup
(GatewayContext context) Subclasses that override should callsuper.setup(context)
.void
shutdown()
No-op, subclasses may override.void
startup
(LicenseState activationState) No-op, subclasses may override.Methods inherited from class com.inductiveautomation.ignition.gateway.model.AbstractGatewayModuleHook
configureDeserializer, configureFunctionFactory, configureSerializer, getRpcImplementation, initializeScriptManager, notifyLicenseStateChanged
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
null
ifsetup(GatewayContext)
has not been called yet.- Returns:
- the
GatewayContext
.
-
getDeviceExtensionPoints
Get theDeviceExtensionPoint
s provided by this module.- Returns:
- a List of
DeviceExtensionPoint
s provided by this module.
-