public class ServiceWatcher extends Object implements org.jboss.msc.service.Service<ServiceWatcher>, com.openshift.restclient.IOpenShiftWatchListener
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_HTTPS_PORT |
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Constructor and Description |
|---|
ServiceWatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
connected(List<com.openshift.restclient.model.IResource> resources) |
void |
disconnected() |
void |
error(Throwable err) |
org.jboss.msc.inject.Injector<com.openshift.restclient.IClient> |
getClientInjector() |
org.jboss.msc.inject.Injector<String> |
getNamespaceInjector() |
org.jboss.msc.inject.Injector<TopologyManager> |
getTopologyManagerInjector() |
ServiceWatcher |
getValue() |
void |
received(com.openshift.restclient.model.IResource resource,
com.openshift.restclient.IOpenShiftWatchListener.ChangeType change) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
public static final int DEFAULT_HTTPS_PORT
public org.jboss.msc.inject.Injector<com.openshift.restclient.IClient> getClientInjector()
public org.jboss.msc.inject.Injector<String> getNamespaceInjector()
public org.jboss.msc.inject.Injector<TopologyManager> getTopologyManagerInjector()
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<ServiceWatcher>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<ServiceWatcher>public ServiceWatcher getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<ServiceWatcher>IllegalStateExceptionIllegalArgumentExceptionpublic void connected(List<com.openshift.restclient.model.IResource> resources)
connected in interface com.openshift.restclient.IOpenShiftWatchListenerpublic void disconnected()
disconnected in interface com.openshift.restclient.IOpenShiftWatchListenerpublic void received(com.openshift.restclient.model.IResource resource,
com.openshift.restclient.IOpenShiftWatchListener.ChangeType change)
received in interface com.openshift.restclient.IOpenShiftWatchListenerpublic void error(Throwable err)
error in interface com.openshift.restclient.IOpenShiftWatchListenerCopyright © 2016 JBoss by Red Hat. All rights reserved.