Class JdbcNodeServiceAuditorConfig
java.lang.Object
net.solarnetwork.central.common.config.JdbcNodeServiceAuditorConfig
@Configuration(proxyBeanMethods=false)
@Profile("node-service-auditor")
public class JdbcNodeServiceAuditorConfig
extends Object
Node service auditor configuration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAuditor for node service events.Configuration settings for the node service auditor.
-
Field Details
-
AUDIT
A qualifier for audit JDBC access.- See Also:
-
-
Constructor Details
-
JdbcNodeServiceAuditorConfig
public JdbcNodeServiceAuditorConfig()
-
-
Method Details
-
nodeServiceAuditorSettings
@Bean @ConfigurationProperties(prefix="app.node-service-auditor") public JdbcNodeServiceAuditorConfig.NodeServiceAuditorSettings nodeServiceAuditorSettings()Configuration settings for the node service auditor.- Returns:
- the settings
-
nodeServiceAuditor
@Bean(initMethod="serviceDidStartup", destroyMethod="serviceDidShutdown") public JdbcNodeServiceAuditor nodeServiceAuditor(JdbcNodeServiceAuditorConfig.NodeServiceAuditorSettings settings) Auditor for node service events.- Parameters:
settings- the settings- Returns:
- the service
-