Class OracleCloudCertificateBeanCreatedEventListener
java.lang.Object
io.micronaut.oraclecloud.certificates.deprecated.OracleCloudCertificateBeanCreatedEventListener
- All Implemented Interfaces:
io.micronaut.context.event.BeanCreatedEventListener<io.micronaut.http.ssl.ServerSslConfiguration>,EventListener
@Singleton
@Requires(beans=OracleCloudCertificationsConfiguration.class) @Requires(property="oci.certificates.certificate-id")
@Deprecated(forRemoval=true)
public class OracleCloudCertificateBeanCreatedEventListener
extends Object
implements io.micronaut.context.event.BeanCreatedEventListener<io.micronaut.http.ssl.ServerSslConfiguration>
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated listener that amends the ServerSslConfiguration when the legacy
oraclecloud.certificates.certificate-id property is used.
If no keyName is set on the server SSL configuration, this listener sets it to "deprecated" so Micronaut selects the deprecated certificate configuration bean.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.http.ssl.ServerSslConfigurationonCreated(@NonNull io.micronaut.context.event.BeanCreatedEvent<io.micronaut.http.ssl.ServerSslConfiguration> event) Deprecated, for removal: This API element is subject to removal in a future version.Ensures a keyName is present on the created ServerSslConfiguration when using deprecated configuration.
-
Constructor Details
-
OracleCloudCertificateBeanCreatedEventListener
public OracleCloudCertificateBeanCreatedEventListener()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
onCreated
public io.micronaut.http.ssl.ServerSslConfiguration onCreated(@NonNull @NonNull io.micronaut.context.event.BeanCreatedEvent<io.micronaut.http.ssl.ServerSslConfiguration> event) Deprecated, for removal: This API element is subject to removal in a future version.Ensures a keyName is present on the created ServerSslConfiguration when using deprecated configuration.- Specified by:
onCreatedin interfaceio.micronaut.context.event.BeanCreatedEventListener<io.micronaut.http.ssl.ServerSslConfiguration>- Parameters:
event- The bean creation event for ServerSslConfiguration- Returns:
- The possibly modified ServerSslConfiguration
-