Package io.quarkiverse.cxf
Interface CxfFixedConfig.NativeClientFixedConfig
- Enclosing interface:
- CxfFixedConfig
public static interface CxfFixedConfig.NativeClientFixedConfig
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf `true`, the client dynamic proxy class generated by native compiler will be initialized at runtime; otherwise the proxy class will be initialized at build time.
-
Method Details
-
runtimeInitialized
@WithDefault("false") boolean runtimeInitialized()If `true`, 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 `true` makes sense if your service endpoint interface references some class initialized at runtime in its method signatures. E.g. Say, your service interface has method `int add(Operands o)` and the `Operands` class was requested to be initialized at runtime. Then, without setting this configuration parameter to `true`, the native compiler will throw an exception saying something like `Classes 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.- Since:
- 2.0.0
-