public class NestService extends Object implements org.jboss.msc.service.Service<NestService>
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Constructor and Description |
|---|
NestService() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getNestName()
Do not call this until the nest has been initialized - it needs a dependent service.
|
NestService |
getValue() |
boolean |
isStarted() |
protected void |
setCustomConfigurationProperties(Map<String,String> properties) |
protected void |
setNestName(String name) |
void |
start(org.jboss.msc.service.StartContext context) |
protected void |
startNest() |
void |
stop(org.jboss.msc.service.StopContext context) |
protected void |
stopNest() |
public NestService getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<NestService>IllegalStateExceptionIllegalArgumentExceptionpublic void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<NestService>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<NestService>public boolean isStarted()
protected void startNest()
throws org.jboss.msc.service.StartException
org.jboss.msc.service.StartExceptionprotected void stopNest()
protected void setNestName(String name)
protected String getNestName()
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.