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

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.http.ssl.ServerSslConfiguration
    onCreated(@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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      onCreated in interface io.micronaut.context.event.BeanCreatedEventListener<io.micronaut.http.ssl.ServerSslConfiguration>
      Parameters:
      event - The bean creation event for ServerSslConfiguration
      Returns:
      The possibly modified ServerSslConfiguration