Class ApplicationLogStreamPublisher
java.lang.Object
org.springframework.cloud.appbroker.logging.streaming.ApplicationLogStreamPublisher
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<ServiceInstanceLoggingEvent>
public class ApplicationLogStreamPublisher
extends Object
implements org.springframework.context.ApplicationListener<ServiceInstanceLoggingEvent>
-
Constructor Summary
ConstructorDescriptionApplicationLogStreamPublisher
(LogStreamPublisher<org.cloudfoundry.dropsonde.events.Envelope> logStreamPublisher, org.springframework.context.ApplicationEventPublisher publisher) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
ApplicationLogStreamPublisher
public ApplicationLogStreamPublisher(LogStreamPublisher<org.cloudfoundry.dropsonde.events.Envelope> logStreamPublisher, org.springframework.context.ApplicationEventPublisher publisher)
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<ServiceInstanceLoggingEvent>
-