@Configuration @ConditionalOnClass(value=ApplicationLogStreamPublisher.class) @ConditionalOnBean(value=ApplicationIdsProvider.class) public class ServiceInstanceLogStreamAutoConfiguration extends Object
Constructor and Description |
---|
ServiceInstanceLogStreamAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ApplicationLogStreamPublisher |
applicationLogsPublisher(LogStreamPublisher<org.cloudfoundry.doppler.Envelope> logStreamPublisher,
ApplicationEventPublisher eventPublisher) |
WebSocketHandlerAdapter |
handlerAdapter() |
HandlerMapping |
logsHandlerMapping(StreamingLogWebSocketHandler webSocketHandler) |
StreamingLogWebSocketHandler |
streamingLogWebSocketHandler(ApplicationEventPublisher applicationEventPublisher) |
LogStreamPublisher<org.cloudfoundry.doppler.Envelope> |
streamLogsPublisher(org.cloudfoundry.client.CloudFoundryClient cloudFoundryClient,
org.cloudfoundry.doppler.DopplerClient dopplerClient,
ApplicationIdsProvider applicationIdsProvider) |
public ServiceInstanceLogStreamAutoConfiguration()
@Bean public StreamingLogWebSocketHandler streamingLogWebSocketHandler(ApplicationEventPublisher applicationEventPublisher)
@Bean @ConditionalOnMissingBean public WebSocketHandlerAdapter handlerAdapter()
@Bean public HandlerMapping logsHandlerMapping(StreamingLogWebSocketHandler webSocketHandler)
@Bean @ConditionalOnMissingBean public LogStreamPublisher<org.cloudfoundry.doppler.Envelope> streamLogsPublisher(org.cloudfoundry.client.CloudFoundryClient cloudFoundryClient, org.cloudfoundry.doppler.DopplerClient dopplerClient, ApplicationIdsProvider applicationIdsProvider)
@Bean public ApplicationLogStreamPublisher applicationLogsPublisher(LogStreamPublisher<org.cloudfoundry.doppler.Envelope> logStreamPublisher, ApplicationEventPublisher eventPublisher)