Package org.nekosoft.pdffer.actuator
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 Summary
ConstructorDescriptionMailerInfoEndpoint(PdfferMailerProps mailerProps)
Allows Spring to create the endpoint instance and pass thePdfferMailerProps
instance into it. -
Method Summary
Modifier and TypeMethodDescriptionprops()
A READ operation that returns the PDFfer mailer configuration in the form of a Properties POJO.
-
Constructor Details
-
MailerInfoEndpoint
Allows Spring to create the endpoint instance and pass thePdfferMailerProps
instance into it.- Parameters:
mailerProps
- thePdfferMailerProps
instance to be injected by the Spring framework
-
-
Method Details
-
props
A READ operation that returns the PDFfer mailer configuration in the form of a Properties POJO.- Returns:
- the
PdfferMailerProps
instance
-