Class EventStreamProjectLifecycleFactory
java.lang.Object
com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
com.inductiveautomation.ignition.gateway.resourcecollection.ResourceCollectionLifecycleFactory<EventStreamProjectLifecycleFactory.Lifecycle>
com.inductiveautomation.eventstream.gateway.project.EventStreamProjectLifecycleFactory
- All Implemented Interfaces:
Lifecycle
public class EventStreamProjectLifecycleFactory
extends ResourceCollectionLifecycleFactory<EventStreamProjectLifecycleFactory.Lifecycle>
Produces EventStream lifecycle events to registered
ResourceLifecycleEvent.Callback
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.inductiveautomation.ignition.gateway.resourcecollection.ResourceCollectionLifecycleFactory
IS_RUNNABLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLifecycle
(RuntimeResourceCollection collection) Create an instance ofResourceCollectionLifecycle
that can manage runtime and lifecycle forcollection
.protected ResourceFilter
Get theResourceFilter
to apply when getting matching resources this lifecycle is interested in.void
Methods inherited from class com.inductiveautomation.ignition.gateway.resourcecollection.ResourceCollectionLifecycleFactory
getLifecycle, getLifecycles, getResourceCollectionFilter, onShutdown, onStartup, restartAll
Methods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
isRunning, shutdown, startup
-
Constructor Details
-
EventStreamProjectLifecycleFactory
-
-
Method Details
-
setCallback
-
createLifecycle
public EventStreamProjectLifecycleFactory.Lifecycle createLifecycle(RuntimeResourceCollection collection) Description copied from class:ResourceCollectionLifecycleFactory
Create an instance ofResourceCollectionLifecycle
that can manage runtime and lifecycle forcollection
.- Specified by:
createLifecycle
in classResourceCollectionLifecycleFactory<EventStreamProjectLifecycleFactory.Lifecycle>
- Parameters:
collection
- theRuntimeResourceCollection
that will be run.- Returns:
- a
ResourceCollectionLifecycle
that can manage runtime and lifecycle forcollection
.
-
getResourceFilter
Description copied from class:ResourceCollectionLifecycleFactory
Get theResourceFilter
to apply when getting matching resources this lifecycle is interested in.- Specified by:
getResourceFilter
in classResourceCollectionLifecycleFactory<EventStreamProjectLifecycleFactory.Lifecycle>
- Returns:
- the
ResourceFilter
to apply when matching resources this lifecycle is interested in.
-