Skip to content

feat: @CaseType CDI qualifier — discover Java-annotated case definition beans #25

@mdproctor

Description

@mdproctor

Part of epic #24.

Port io.casehub.annotation.CaseType from casehub-poc's casehub-core/src/main/java/io/casehub/annotation/.

What it does

A CDI @Qualifier that annotates a class as a case definition implementation for a named case type. The engine uses it during startup to discover Java-implemented case definitions alongside YAML-loaded ones.

Scope

  • Port the @CaseType(value) annotation into io.casehub package (home TBD: api/ or app-local)
  • Wire CDI bean discovery at startup: scan for beans annotated with @CaseType and register them via CaseDefinitionRegistry
  • Decide package home — api/ if other consumers are likely, app-local if not

Depends on

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmigrationCapability migrated or to be migrated from casehub-poc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions