public class AsyncServiceConfigurator extends SimpleServiceNameProvider implements ServiceConfigurator
| Constructor and Description |
|---|
AsyncServiceConfigurator(org.jboss.msc.service.ServiceName name)
Constructs a new builder for building asynchronous service
|
| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.service.ServiceBuilder<?> |
build(org.jboss.msc.service.ServiceTarget target)
Adds and configures a
Service. |
AsyncServiceConfigurator |
startSynchronously()
Indicates that this service should *not* be started asynchronously.
|
AsyncServiceConfigurator |
stopSynchronously()
Indicates that this service should *not* be stopped asynchronously.
|
equals, getServiceName, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetServiceNamepublic AsyncServiceConfigurator(org.jboss.msc.service.ServiceName name)
name - the target service namepublic org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target)
ServiceConfiguratorService.build in interface ServiceConfiguratortarget - a service targetpublic AsyncServiceConfigurator startSynchronously()
public AsyncServiceConfigurator stopSynchronously()
Copyright © 2023 JBoss by Red Hat. All rights reserved.