Class ServiceInstanceLogStreamAutoConfiguration
java.lang.Object
org.springframework.cloud.appbroker.autoconfigure.ServiceInstanceLogStreamAutoConfiguration
@Configuration
@ConditionalOnClass(ApplicationLogStreamPublisher.class)
@ConditionalOnBean(ApplicationIdsProvider.class)
public class ServiceInstanceLogStreamAutoConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationLogsPublisher
(LogStreamPublisher<org.cloudfoundry.dropsonde.events.Envelope> logStreamPublisher, org.springframework.context.ApplicationEventPublisher eventPublisher) org.springframework.web.reactive.socket.server.support.WebSocketHandlerAdapter
org.springframework.web.reactive.HandlerMapping
logsHandlerMapping
(StreamingLogWebSocketHandler webSocketHandler) streamingLogWebSocketHandler
(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) LogStreamPublisher<org.cloudfoundry.dropsonde.events.Envelope>
streamLogsPublisher
(org.cloudfoundry.client.CloudFoundryClient cloudFoundryClient, org.cloudfoundry.logcache.v1.LogCacheClient logCacheClient, ApplicationIdsProvider applicationIdsProvider)
-
Constructor Details
-
ServiceInstanceLogStreamAutoConfiguration
public ServiceInstanceLogStreamAutoConfiguration()
-
-
Method Details
-
streamingLogWebSocketHandler
@Bean public StreamingLogWebSocketHandler streamingLogWebSocketHandler(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) -
handlerAdapter
@Bean @ConditionalOnMissingBean public org.springframework.web.reactive.socket.server.support.WebSocketHandlerAdapter handlerAdapter() -
logsHandlerMapping
@Bean public org.springframework.web.reactive.HandlerMapping logsHandlerMapping(StreamingLogWebSocketHandler webSocketHandler) -
streamLogsPublisher
@Bean @ConditionalOnMissingBean public LogStreamPublisher<org.cloudfoundry.dropsonde.events.Envelope> streamLogsPublisher(org.cloudfoundry.client.CloudFoundryClient cloudFoundryClient, org.cloudfoundry.logcache.v1.LogCacheClient logCacheClient, ApplicationIdsProvider applicationIdsProvider) -
applicationLogsPublisher
@Bean public ApplicationLogStreamPublisher applicationLogsPublisher(LogStreamPublisher<org.cloudfoundry.dropsonde.events.Envelope> logStreamPublisher, org.springframework.context.ApplicationEventPublisher eventPublisher)
-