Class FlowReconcilers
java.lang.Object
ai.badmonkey.agentspaces.spring.FlowReconcilers
- All Implemented Interfaces:
AutoCloseable, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle
public final class FlowReconcilers
extends Object
implements org.springframework.context.SmartLifecycle, AutoCloseable
Installs a
FlowReconciler per group when agentspaces.flows.reconcile is on (ISSUE-FlowManifest
FR-2, FR-9, FR-11): the catalogue is what this facade bound, the flow-control space is the configured one
or one opened here, asset references resolve against the group's discovery, and the node sets the
flowVersion and flowConformance hints after each reconciliation.-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsConstructorDescriptionFlowReconcilers(AgentSpaces spaces, AgentSpacesProperties properties, Authorizers authorizers, PeerNode node, PeerIdentity identity, InstantSource clock) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecycle
isAutoStartup, stop
-
Constructor Details
-
FlowReconcilers
public FlowReconcilers(AgentSpaces spaces, AgentSpacesProperties properties, Authorizers authorizers, PeerNode node, PeerIdentity identity, InstantSource clock)
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
reconciler
-
stop
public void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-
getPhase
public int getPhase()- Specified by:
getPhasein interfaceorg.springframework.context.Phased- Specified by:
getPhasein interfaceorg.springframework.context.SmartLifecycle
-