public class ClientService extends Object implements org.jboss.msc.service.Service<com.openshift.restclient.IClient>
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Constructor and Description |
|---|
ClientService() |
| Modifier and Type | Method and Description |
|---|---|
com.openshift.restclient.IClient |
getValue() |
protected String |
serviceHost(String serviceName) |
static int |
servicePort(String serviceName) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static int servicePort(String serviceName)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<com.openshift.restclient.IClient>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<com.openshift.restclient.IClient>public com.openshift.restclient.IClient getValue()
throws IllegalStateException,
IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<com.openshift.restclient.IClient>IllegalStateExceptionIllegalArgumentExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.