-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34107 from aloubyansky/system-property-cl-config
- Loading branch information
Showing
16 changed files
with
419 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...ts/extension-removed-resources/extension/runtime/src/main/java/org/acme/AcmeRecorder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.acme; | ||
|
||
import io.quarkus.arc.runtime.BeanContainer; | ||
import io.quarkus.runtime.annotations.Recorder; | ||
|
||
import java.util.List; | ||
|
||
@Recorder | ||
public class AcmeRecorder { | ||
|
||
public void recordWords(BeanContainer beanContainer, List<String> words, String classLoaderName) { | ||
var bean = beanContainer.beanInstance(RecordedWords.class); | ||
bean.setWords(words); | ||
bean.setClassLoaderName(classLoaderName); | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...s/extension-removed-resources/extension/runtime/src/main/java/org/acme/RecordedWords.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package org.acme; | ||
|
||
import jakarta.inject.Singleton; | ||
|
||
import java.util.List; | ||
|
||
@Singleton | ||
public class RecordedWords { | ||
|
||
private List<String> words; | ||
private String classLoaderName; | ||
|
||
void setWords(List<String> words) { | ||
this.words = words; | ||
} | ||
|
||
public List<String> getWords() { | ||
return words; | ||
} | ||
|
||
void setClassLoaderName(String classLoaderName) { | ||
this.classLoaderName = classLoaderName; | ||
} | ||
|
||
public String getClassLoaderName() { | ||
return classLoaderName; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.