@Configuration(proxyBeanMethods=false) @AutoConfigureAfter(value=AuditAutoConfiguration.class) @ConditionalOnEnabledEndpoint(endpoint=AuditEventsEndpoint.class) @ConditionalOnExposedEndpoint(endpoint=AuditEventsEndpoint.class) public class AuditEventsEndpointAutoConfiguration extends Object
Auto-configuration
for the AuditEventsEndpoint
.Constructor and Description |
---|
AuditEventsEndpointAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
AuditEventsEndpoint |
auditEventsEndpoint(AuditEventRepository auditEventRepository) |
public AuditEventsEndpointAutoConfiguration()
@Bean @ConditionalOnMissingBean @ConditionalOnBean(value=AuditEventRepository.class) public AuditEventsEndpoint auditEventsEndpoint(AuditEventRepository auditEventRepository)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.