Package io.quarkiverse.cxf
Class CxfFixedConfig.NativeClientFixedConfig
- java.lang.Object
-
- io.quarkiverse.cxf.CxfFixedConfig.NativeClientFixedConfig
-
- Enclosing class:
- CxfFixedConfig
public static class CxfFixedConfig.NativeClientFixedConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanruntimeInitializedIftrue, the client dynamic proxy class generated by native compiler will be initialized at runtime; otherwise the proxy class will be initialized at build time.
-
Constructor Summary
Constructors Constructor Description NativeClientFixedConfig()
-
-
-
Field Detail
-
runtimeInitialized
@ConfigItem(defaultValue="false") public boolean runtimeInitialized
Iftrue, the client dynamic proxy class generated by native compiler will be initialized at runtime; otherwise the proxy class will be initialized at build time.Setting this to
truemakes sense if your service endpoint interface references some class initialized at runtime in its method signatures. E.g. Say, your service interface has methodint add(Operands o)and theOperandsclass was requested to be initialized at runtime. Then, without setting this configuration parameter totrue, the native compiler will throw an exception saying something likeClasses that should be initialized at run time got initialized during image building: org.acme.Operands ... jdk.proxy<some-number>.$Proxy<some-number> caused initialization of this class.jdk.proxy<some-number>.$Proxy<some-number>is the proxy class generated by the native compiler.
-
-