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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getServiceName
public AsyncServiceConfigurator(org.jboss.msc.service.ServiceName name)
name
- the target service namepublic org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target)
ServiceConfigurator
Service
.build
in interface ServiceConfigurator
target
- a service targetpublic AsyncServiceConfigurator startSynchronously()
public AsyncServiceConfigurator stopSynchronously()
Copyright © 2020 JBoss by Red Hat. All rights reserved.