Skip to content

Commit

Permalink
Merge pull request #11672 from machi1990/docs/update-source-code-high…
Browse files Browse the repository at this point in the history
…lighting

Update source code highlighting in the Quartz guide
  • Loading branch information
gsmet authored Aug 27, 2020
2 parents 37dae78 + b1bb14d commit 8e687e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/quartz.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -424,14 +424,14 @@ quarkus.quartz.plugin.jobHistory.jobSuccessMessage=Job [{1}.{0}] execution compl
You can also register a listener programmatically with an injected `org.quartz.Scheduler`

[source,java]
---
----
public class MyListenerManager {
void onStart(@Observes StartupEvent event, org.quartz.Scheduler scheduler) throws SchedulerException {
scheduler.getListenerManager().addJobListener(new MyJogListener());
scheduler.getListenerManager().addTriggerListener(new MyTriggerListener());
}
}
---
----

[[quartz-configuration-reference]]
== Quartz Configuration Reference
Expand Down

0 comments on commit 8e687e6

Please sign in to comment.