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
ConstructorsConstructorDescriptionMailerInfoEndpoint(PdfferMailerProps mailerProps)Allows Spring to create the endpoint instance and pass thePdfferMailerPropsinstance 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 thePdfferMailerPropsinstance into it.- Parameters:
mailerProps- thePdfferMailerPropsinstance 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
PdfferMailerPropsinstance
-