Package io.quarkiverse.cxf
Class CxfClientProducer
- java.lang.Object
-
- io.quarkiverse.cxf.CxfClientProducer
-
- Direct Known Subclasses:
CxfClientInfoProducer
public abstract class CxfClientProducer extends Object
Base producer class for setting up CXF client proxies andCXFClientInfos.A class extending this class is generated for each Service Endpoint Interface (SEI) at build time. Those generated classes delegate the client creation to
loadCxfClient(InjectionPoint, CXFClientData).Notice the
InjectionPointparameter ofloadCxfClient(InjectionPoint, CXFClientData). It is used to find the configuration for the specific client by key given in@CXFClient("myClient").
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCxfClientProducer.ClientFactoryCustomizer
-
Field Summary
Fields Modifier and Type Field Description static StringRUNTIME_INITIALIZED_PROXY_MARKER_INTERFACE_NAMEstatic StringRUNTIME_INITIALIZED_PROXY_MARKER_INTERFACE_PACKAGE
-
Constructor Summary
Constructors Constructor Description CxfClientProducer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseCxfClient(Object client)Called from the{SEI}CxfClientProducer.closeClient(@Disposes @CXFClient {SEI} client)generated inio.quarkiverse.cxf.deployment.CxfClientProcessor.generateCxfClientProducer().ObjectloadCxfClient(jakarta.enterprise.inject.spi.InjectionPoint ip, CXFClientData meta)Must be public, otherwise: java.lang.VerifyError: Bad access to protected data in invokevirtualCXFClientInfoloadCxfClientInfo(jakarta.enterprise.inject.spi.InjectionPoint ip, CXFClientData meta)Must be public, otherwise: java.lang.VerifyError: Bad access to protected data in invokevirtualprotected static CXFClientInfoselectorCXFClientInfo(CxfConfig config, CxfFixedConfig fixedConfig, jakarta.enterprise.inject.spi.InjectionPoint ip, CXFClientData meta)Calculates the client info to use for producing a JAXWS client proxy.
-
-
-
Field Detail
-
RUNTIME_INITIALIZED_PROXY_MARKER_INTERFACE_PACKAGE
public static final String RUNTIME_INITIALIZED_PROXY_MARKER_INTERFACE_PACKAGE
- See Also:
- Constant Field Values
-
RUNTIME_INITIALIZED_PROXY_MARKER_INTERFACE_NAME
public static final String RUNTIME_INITIALIZED_PROXY_MARKER_INTERFACE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadCxfClient
public Object loadCxfClient(jakarta.enterprise.inject.spi.InjectionPoint ip, CXFClientData meta)
Must be public, otherwise: java.lang.VerifyError: Bad access to protected data in invokevirtual
-
closeCxfClient
public void closeCxfClient(Object client)
Called from the{SEI}CxfClientProducer.closeClient(@Disposes @CXFClient {SEI} client)generated inio.quarkiverse.cxf.deployment.CxfClientProcessor.generateCxfClientProducer().- Parameters:
client- the CXF client to close
-
loadCxfClientInfo
public CXFClientInfo loadCxfClientInfo(jakarta.enterprise.inject.spi.InjectionPoint ip, CXFClientData meta)
Must be public, otherwise: java.lang.VerifyError: Bad access to protected data in invokevirtual
-
selectorCXFClientInfo
protected static CXFClientInfo selectorCXFClientInfo(CxfConfig config, CxfFixedConfig fixedConfig, jakarta.enterprise.inject.spi.InjectionPoint ip, CXFClientData meta)
Calculates the client info to use for producing a JAXWS client proxy.- Parameters:
cxfConfig- The current configurationip- Meta information about where injection of client proxy takes placemeta- The default to return- Returns:
- not null
-
-