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 ofResourceCollectionLifecyclethat can manage runtime and lifecycle forcollection.protected ResourceFilterGet theResourceFilterto apply when getting matching resources this lifecycle is interested in.voidMethods inherited from class com.inductiveautomation.ignition.gateway.resourcecollection.ResourceCollectionLifecycleFactory
getLifecycle, getLifecycles, getResourceCollectionFilter, onShutdown, onStartup, restartAllMethods 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:ResourceCollectionLifecycleFactoryCreate an instance ofResourceCollectionLifecyclethat can manage runtime and lifecycle forcollection.- Specified by:
createLifecyclein classResourceCollectionLifecycleFactory<EventStreamProjectLifecycleFactory.Lifecycle>- Parameters:
collection- theRuntimeResourceCollectionthat will be run.- Returns:
- a
ResourceCollectionLifecyclethat can manage runtime and lifecycle forcollection.
-
getResourceFilter
Description copied from class:ResourceCollectionLifecycleFactoryGet theResourceFilterto apply when getting matching resources this lifecycle is interested in.- Specified by:
getResourceFilterin classResourceCollectionLifecycleFactory<EventStreamProjectLifecycleFactory.Lifecycle>- Returns:
- the
ResourceFilterto apply when matching resources this lifecycle is interested in.
-