Class MailerInfoEndpoint

java.lang.Object
org.nekosoft.pdffer.actuator.MailerInfoEndpoint

@Component @Endpoint(id="pdffer-mailer-props") @ConditionalOnClass(name="org.springframework.boot.actuate.endpoint.annotation.Endpoint") @Profile("pddfer-actuator") public class MailerInfoEndpoint extends Object
A Spring Actuator endpoint that allows inspection of the PDFfer mailer configuration.
  • Constructor Details

    • MailerInfoEndpoint

      public MailerInfoEndpoint(PdfferMailerProps mailerProps)
      Allows Spring to create the endpoint instance and pass the PdfferMailerProps instance into it.
      Parameters:
      mailerProps - the PdfferMailerProps instance to be injected by the Spring framework
  • Method Details

    • props

      @ReadOperation public PdfferMailerProps props()
      A READ operation that returns the PDFfer mailer configuration in the form of a Properties POJO.
      Returns:
      the PdfferMailerProps instance