Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 6 additions & 6 deletions docs/src/main/asciidoc/writing-extensions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1768,7 +1768,7 @@ An example of parsing a XML config file using JAXB is shown in the `TestProcesso
Unmarshaller unmarshaller = context.createUnmarshaller();
InputStream is = getClass().getResourceAsStream("/config.xml"); <1>
if (is != null) {
log.infof("Have XmlConfig, loading");
log.info("Have XmlConfig, loading");
XmlConfig config = (XmlConfig) unmarshaller.unmarshal(is); <2>
...
}
Expand Down Expand Up @@ -1854,7 +1854,7 @@ You can use the `io.quarkus.arc.runtime.BeanContainer` interface to interact wit
public void configureBeans(BeanContainer beanContainer, Class<IConfigConsumer> beanClass,
TestBuildAndRunTimeConfig buildTimeConfig,
TestRunTimeConfig runTimeConfig) {
log.infof("Begin BeanContainerListener callback\n");
log.info("Begin BeanContainerListener callback\n");
IConfigConsumer instance = beanContainer.instance(beanClass); <4>
instance.loadConfig(buildTimeConfig, runTimeConfig); <5>
log.infof("configureBeans, instance=%s\n", instance);
Expand All @@ -1881,9 +1881,9 @@ A common purpose for an extension is to integrate a non-CDI aware service into t
Unmarshaller unmarshaller = context.createUnmarshaller();
InputStream is = getClass().getResourceAsStream("/config.xml");
if (is != null) {
log.infof("Have XmlConfig, loading");
log.info("Have XmlConfig, loading");
XmlConfig config = (XmlConfig) unmarshaller.unmarshal(is);
log.infof("Loaded XmlConfig, creating service");
log.info("Loaded XmlConfig, creating service");
RuntimeValue<RuntimeXmlConfigService> service = recorder.initRuntimeService(config); //<1>
serviceBuildItem = new RuntimeServiceBuildItem(service); //<3>
}
Expand Down Expand Up @@ -2139,7 +2139,7 @@ Objects created during the build phase that are passed into the runtime need to
There is a `io.quarkus.runtime.ObjectSubstitution` interface that can be implemented to tell Quarkus how to handle such classes. An example implementation for the `DSAPublicKey` is shown here:

.DSAPublicKeyObjectSubstitution Example
[source,bash]
[source,java]
----
package io.quarkus.extest.runtime.subst;

Expand Down Expand Up @@ -2199,7 +2199,7 @@ An extension registers this substitution by producing an `ObjectSubstitutionBuil
ObjectSubstitutionBuildItem keysub = new ObjectSubstitutionBuildItem(holder);
substitutions.produce(keysub);

log.infof("loadDSAPublicKey run");
log.info("loadDSAPublicKey run");
return new PublicKeyBuildItem(publicKey);
}
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ InfinispanPropertiesBuildItem setup(ApplicationArchivesBuildItem applicationArch
if (stream == null) {
properties = new Properties();
if (log.isTraceEnabled()) {
log.tracef("There was no hotrod-client.properties file found - using defaults");
log.trace("There was no hotrod-client.properties file found - using defaults");
}
} else {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private <T extends AuthenticationRequest> CompletionStage<SecurityIdentity> hand
List<IdentityProvider<T>> providers, T request, AuthenticationRequestContext context) {
if (pos == providers.size()) {
//we failed to authentication
log.debugf("Authentication failed as providers would authenticate the request");
log.debug("Authentication failed as providers would authenticate the request");
CompletableFuture<SecurityIdentity> cf = new CompletableFuture<>();
cf.completeExceptionally(new AuthenticationFailedException());
return cf;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public boolean verifyRSASig(@QueryParam("msg") String msg, @QueryParam("publicKe
log.infof("Loaded SHA256withRSA: %s", sha256withRSA);
//log.infof("Loaded SHA256withRSA: %s, %s", sha256withRSA, sha256withRSA.getProvider());
sha256withRSA.initVerify(pk);
log.infof("Initialized SHA256withRSA");
log.info("Initialized SHA256withRSA");

return true;
}
Expand Down