Skip to content

Commit

Permalink
Merge pull request #353 from njr-11/229-missed-qualifiers-in-example
Browse files Browse the repository at this point in the history
missed qualifiers in resource definition example
  • Loading branch information
njr-11 authored Oct 11, 2023
2 parents 4e76b65 + b377e7a commit 3975d0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021,2022 Contributors to the Eclipse Foundation
* Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -38,6 +38,7 @@
*
* <pre>{@literal @}ContextServiceDefinition(
* name = "java:app/concurrent/MyContext",
* qualifiers = MyQualifier.class,
* propagated = APPLICATION,
* unchanged = TRANSACTION,
* cleared = ALL_REMAINING)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* <pre>
* {@literal @}ManagedScheduledExecutorDefinition(
* name = "java:comp/concurrent/MyScheduledExecutor",
* qualifiers = MyQualifier.class,
* context = "java:comp/concurrent/MyScheduledExecutorContext",
* hungTaskThreshold = 30000,
* maxAsync = 3)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
* <pre>
* {@literal @}ManagedThreadFactoryDefinition(
* name = "java:global/concurrent/MyThreadFactory",
* qualifiers = MyQualifier.class,
* context = "java:global/concurrent/MyThreadFactoryContext",
* priority = 4)
* {@literal @}ContextServiceDefinition(
Expand Down

0 comments on commit 3975d0b

Please sign in to comment.