WJb Docs - Reference

Browse APIs, configuration options, interfaces, and implementation details.

⚡ Actions
🔀 Workflow
📦 Jobs
⚙️ Runtime
💾 Persistence
🗄 Storage
🧩 Workflow Metadata
🛠 Extensions & Helpers

WJbBuilder

Provides configuration and registration APIs for WJb.

WJbBuilder is used during application startup to configure the WJb runtime and register required components.

Purpose

Use WJbBuilder to configure how WJb operates within an application.

Application Startup
         ↓
     WJbBuilder
         ↓
 Runtime Configuration

Responsibilities

Typical responsibilities include:

  • Registering services
  • Configuring runtime behavior
  • Registering actions
  • Configuring stores
  • Enabling optional features

Startup Flow

Application
      ↓
 Service Registration
      ↓
    WJbBuilder
      ↓
 Runtime Ready

Configuration occurs before jobs are executed.

Runtime Integration

WJbBuilder prepares the components used by the runtime.

WJbBuilder
     ↓
  IWJb
     ↓
 Workers
     ↓
 Execution

Action Registration

Actions must be discoverable by the runtime.

WJbBuilder
      ↓
Action Registration
      ↓
IActionFactory

Relationship to IWJb

WJbBuilder configures the runtime.

IWJb is used after configuration is complete.

WJbBuilder
     ↓
   IWJb

Best Practices

Configure During Startup

Perform builder configuration during application initialization.

Keep Configuration Centralized

Maintain WJb configuration in a predictable location.

Register Dependencies Explicitly

Ensure actions and runtime services can be resolved correctly.

Related Types

  • IWJb
  • IJobExecutor
  • IActionFactory
  • IStore

See Also

  • IWJb
  • IJobExecutor
  • IActionFactory
  • IStore
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.