Class InMemoryRuntimePersistenceAutoConfiguration

java.lang.Object
com.agentforge4j.starter.InMemoryRuntimePersistenceAutoConfiguration

@AutoConfiguration(after={BootstrapAutoConfiguration.class,org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration.class}) @ConditionalOnMissingBean(javax.sql.DataSource.class) public class InMemoryRuntimePersistenceAutoConfiguration extends Object
In-memory run state, event log, and file metadata when no DataSource is configured.

When a JPA persistence module and datasource are present, WorkflowStateRepository, WorkflowEventLog, and WorkflowFileRepository beans come from that module instead.

  • Constructor Details

    • InMemoryRuntimePersistenceAutoConfiguration

      public InMemoryRuntimePersistenceAutoConfiguration()
  • Method Details

    • workflowStateRepository

      @Bean @ConditionalOnMissingBean public com.agentforge4j.core.workflow.repository.WorkflowStateRepository workflowStateRepository()
    • workflowEventLog

      @Bean @ConditionalOnMissingBean public com.agentforge4j.core.workflow.event.WorkflowEventLog workflowEventLog()
    • workflowFileRepository

      @Bean @ConditionalOnMissingBean public com.agentforge4j.core.workflow.repository.WorkflowFileRepository workflowFileRepository()