public class NamingStoreService extends Object implements org.jboss.msc.service.Service<ServiceBasedNamingStore>
| Constructor and Description |
|---|
NamingStoreService() |
NamingStoreService(boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
ServiceBasedNamingStore |
getValue()
Get the context value.
|
void |
start(org.jboss.msc.service.StartContext context)
Creates the naming store if not provided by the constructor.
|
void |
stop(org.jboss.msc.service.StopContext context)
Destroys the naming store.
|
public NamingStoreService()
public NamingStoreService(boolean readOnly)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Servicecontext - The start contextorg.jboss.msc.service.StartException - If any problems occur creating the contextpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicecontext - The stop contextpublic ServiceBasedNamingStore getValue() throws IllegalStateException
getValue in interface org.jboss.msc.value.Value<ServiceBasedNamingStore>IllegalStateExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.