@Configuration(proxyBeanMethods=false) @AutoConfigureAfter(value=AuditAutoConfiguration.class) @ConditionalOnAvailableEndpoint(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.