Package org.nekosoft.pdffer.actuator
Class MailerControllerInfoEndpoint
java.lang.Object
org.nekosoft.pdffer.actuator.MailerControllerInfoEndpoint
@Component
@Endpoint(id="pdffer-mailer-controller-props")
@ConditionalOnClass(name="org.springframework.boot.actuate.endpoint.annotation.Endpoint")
@Profile("pddfer-actuator")
public class MailerControllerInfoEndpoint
extends Object
A Spring Actuator endpoint that allows inspection of the PDFfer mailer controller configuration.
-
Constructor Summary
ConstructorDescriptionMailerControllerInfoEndpoint(PdfferMailerControllerProps mailerControllerProps)
Allows Spring to create the endpoint instance and pass thePdfferMailerControllerProps
instance into it. -
Method Summary
Modifier and TypeMethodDescriptionprops()
A READ operation that returns the PDFfer mailer controller configuration in the form of a Properties POJO.
-
Constructor Details
-
MailerControllerInfoEndpoint
Allows Spring to create the endpoint instance and pass thePdfferMailerControllerProps
instance into it.- Parameters:
mailerControllerProps
- thePdfferMailerControllerProps
instance to be injected by the Spring framework
-
-
Method Details
-
props
A READ operation that returns the PDFfer mailer controller configuration in the form of a Properties POJO.- Returns:
- the
PdfferMailerControllerProps
instance
-