public class KieServerRouterEventListener extends Object implements KieServerEventListener
| Modifier and Type | Class and Description |
|---|---|
static class |
KieServerRouterEventListener.RouterConnectionObserver |
| Constructor and Description |
|---|
KieServerRouterEventListener() |
KieServerRouterEventListener(String serverId,
String serverURL,
String routerURL,
int failedAttemptsInterval) |
public void beforeServerStarted(KieServer kieServer)
beforeServerStarted in interface KieServerEventListenerpublic void afterServerStarted(KieServer kieServer)
afterServerStarted in interface KieServerEventListenerpublic void beforeServerStopped(KieServer kieServer)
beforeServerStopped in interface KieServerEventListenerpublic void afterServerStopped(KieServer kieServer)
afterServerStopped in interface KieServerEventListenerpublic void beforeContainerStarted(KieServer kieServer, KieContainerInstance containerInstance)
beforeContainerStarted in interface KieServerEventListenerpublic void afterContainerStarted(KieServer kieServer, KieContainerInstance containerInstance)
afterContainerStarted in interface KieServerEventListenerpublic void beforeContainerStopped(KieServer kieServer, KieContainerInstance containerInstance)
beforeContainerStopped in interface KieServerEventListenerpublic void afterContainerStopped(KieServer kieServer, KieContainerInstance containerInstance)
afterContainerStopped in interface KieServerEventListenerprotected boolean send(String url, String containerId, String payload, boolean add, boolean retry)
protected String getContainerAlias(org.kie.server.api.model.KieContainerResource containerInstance)
public KieServerRouterEventListener.RouterConnectionObserver getObserver()
public void setObserver(KieServerRouterEventListener.RouterConnectionObserver observer)
public void close()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.