Re: Problems creating custom appender using JPMS service in 3.0.0-beta3
Matt Sicker <[email protected]> Mon, 2 Dec 2024 16:04:10 -0600
| Newsgroups | gmane.comp.jakarta.log4j.user |
|---|---|
| Message-ID | <[email protected]> |
Not particularly about those annotations. The plugin service metadata is = sufficient for that. > On Dec 2, 2024, at 14:29, Piotr P. Karwasz <[email protected]> = wrote: >=20 > Hi Matt, >=20 > On 2.12.2024 19:36, Matt Sicker wrote: >> For one, you=E2=80=99ll need to annotate your constructor arguments = with the appropriate @Plugin annotations (@PluginElement and = @PluginAttribute mainly) to know how to bind config data to your plugin. = That is required regardless of whether you=E2=80=99re manually = generating the metadata file for plugin descriptors (which is mainly = used as a sort of component index to avoid classpath scanning at = runtime). >=20 > Are you sure `@Plugin` and `@Namespace` are used at runtime? >=20 > Piotr