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