Class ResourceCollectionLifecycleFactory<T extends ResourceCollectionLifecycle>

java.lang.Object
com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
com.inductiveautomation.ignition.gateway.resourcecollection.ResourceCollectionLifecycleFactory<T>
All Implemented Interfaces:
Lifecycle
Direct Known Subclasses:
EventStreamProjectLifecycleFactory

public abstract class ResourceCollectionLifecycleFactory<T extends ResourceCollectionLifecycle> extends AbstractLifecycle
A factory for creating and managing ResourceCollectionLifecycles. Subclasses define some filtering logic to determine which collections and which resources are relevant, and then a factory method to instantiate the resource collection lifecycle objects. This class will then take care of listening for changes to the relevant collections, and starting and stopping the lifecycle objects as necessary as collections are added, removed, or changed to match or mismatch the getResourceCollectionFilter() predicate.