Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note about QuarkusClassLoader.isClassPresentAtRuntime #35432

Merged
merged 2 commits into from
Aug 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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