Skip to content

Commit

Permalink
Merge pull request #35432 from geoand/writing-extensions-improvements
Browse files Browse the repository at this point in the history
Add note about QuarkusClassLoader.isClassPresentAtRuntime
  • Loading branch information
geoand authored Aug 21, 2023
2 parents 3a5d98f + ee645f8 commit 107fb47
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/src/main/asciidoc/writing-extensions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ And at the end of the guide, the extensive configuration documentation:

[WARNING]
====
All documentation should be generated and validated before being commited.
All documentation should be generated and validated before being committed.
====

=== Conditional Step Inclusion
Expand Down Expand Up @@ -1550,6 +1550,11 @@ However, this method should not be needed in most use cases because directly loa
Therefore, this method is deprecated.
Nonetheless, there are some use cases where this method comes in handy, such as referring to classes that were generated in previous build steps using `GeneratedClassBuildItem`.

==== Runtime Classpath check

Extensions often need a way to determine whether a given class is part of the application's runtime classpath.
The proper way for an extension to perform this check is to use `io.quarkus.bootstrap.classloading.QuarkusClassLoader.isClassPresentAtRuntime`.

==== Printing step execution time

At times, it can be useful to know how the exact time each startup task (which is the result of each bytecode recording) takes when the application is run.
Expand Down

0 comments on commit 107fb47

Please sign in to comment.