public class BrokerClientConnectionListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>, org.springframework.core.Ordered
BrokerClient. On subscribe it publishes a
PayloadApplicationEvent with a generic type of RSocketRequester.| Constructor and Description |
|---|
BrokerClientConnectionListener(BrokerClient brokerClient,
org.springframework.context.ApplicationEventPublisher publisher) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event) |
public BrokerClientConnectionListener(BrokerClient brokerClient, org.springframework.context.ApplicationEventPublisher publisher)
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>public int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2019 Pivotal Software, Inc.. All rights reserved.