Class CertificateClientContextConfigurer
java.lang.Object
io.micronaut.oraclecloud.certificates.config.CertificateClientContextConfigurer
- All Implemented Interfaces:
 io.micronaut.context.ApplicationContextConfigurer,io.micronaut.core.order.Ordered
@ContextConfigurer
@Internal
public class CertificateClientContextConfigurer
extends Object
implements io.micronaut.context.ApplicationContextConfigurer
ApplicationContext configurer for the OCI Certificates client.
 
 Marks the Micronaut ApplicationContext as a bootstrap context and sets
 oci.clients.certificates.ssl.enabled=true. This ensures the per-service
 client configuration bean ServiceOracleCloudClientConfigurationProperties
 named certificates is created and applied to the OCI Certificates client so SSL and other
 client options can be customized under the oci.clients.certificates.* namespace.
 
- 
Field Summary
Fields inherited from interface io.micronaut.context.ApplicationContextConfigurer
NO_OPFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(io.micronaut.context.ApplicationContextBuilder builder) Configure the context for the OCI Certificates client by enabling the per-service client configuration for thecertificatesservice.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.context.ApplicationContextConfigurer
configureMethods inherited from interface io.micronaut.core.order.Ordered
getOrder 
- 
Constructor Details
- 
CertificateClientContextConfigurer
public CertificateClientContextConfigurer() 
 - 
 - 
Method Details
- 
configure
public void configure(io.micronaut.context.ApplicationContextBuilder builder) Configure the context for the OCI Certificates client by enabling the per-service client configuration for thecertificatesservice. Specifically, this setsoci.clients.certificates.ssl.enabled=trueduring bootstrap, which causes Micronaut to bind and useServiceOracleCloudClientConfigurationPropertiesfor the Certificates client.- Specified by:
 configurein interfaceio.micronaut.context.ApplicationContextConfigurer- Parameters:
 builder- The application context builder
 
 -