Skip to content

Commit

Permalink
Fixed @SpringConfiguration.
Browse files Browse the repository at this point in the history
  • Loading branch information
pme123 committed Dec 31, 2024
1 parent 31bdebc commit af82b22
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions 00-docs/src/docs/functionalityDsls/worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Use this [Generator](../development/projectDev.md#customtask) to create a new _C
```scala
import mycompany.myproject.bpmn.myprocess.v1.MyCustomTask.*

@Configuration
@SpringConfiguration
class MyCustomTaskWorker extends CompanyCustomWorkerDsl[In, Out]:

lazy val customTask = example
Expand Down Expand Up @@ -84,7 +84,7 @@ You can:
```scala
import mycompany.myproject.bpmn.myprocess.v1.MyProcess.*

@Configuration
@SpringConfiguration
class MyProcessWorker extends CompanyInitWorkerDsl[In, Out, InitIn, InConfig]:

lazy val inOutExample = example
Expand Down Expand Up @@ -123,7 +123,7 @@ You can provide:
```scala
import mycompany.myproject.bpmn.myprocess.v1.MyServiceTask.*

@Configuration
@SpringConfiguration
class MyServiceTaskWorker extends CompanyServiceWorkerDsl[In, Out]:

lazy val serviceTask = example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ case class WorkerGenerator()(using config: DevConfig):
|
|import ${config.projectPackage}.bpmn.$processName${version.versionPackage}.$workerName.*
|
|@Configuration
|@SpringConfiguration
|class ${workerName}Worker extends CompanyInitWorkerDsl[In, Out, InitIn, InConfig]:
|
| lazy val inOutExample = example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ case class WorkerGenerator()(using val config: OpenApiConfig, val apiDefinition:
|import $bpmnPackage.schema.*
|import $bpmnPackage.$name.*
|
|@Configuration
|@SpringConfiguration
|class ${name}Worker
| extends ${config.superWorkerClass}[In, Out, ServiceIn, ServiceOut]:
|
Expand Down

0 comments on commit af82b22

Please sign in to comment.