Class AsyncServiceConfigurator

    • Constructor Detail

      • AsyncServiceConfigurator

        public AsyncServiceConfigurator​(org.jboss.msc.service.ServiceName name)
        Constructs a new builder for building asynchronous service
        Parameters:
        name - the target service name
    • Method Detail

      • build

        public org.jboss.msc.service.ServiceBuilder<?> build​(org.jboss.msc.service.ServiceTarget target)
        Description copied from interface: ServiceConfigurator
        Adds and configures a Service.
        Specified by:
        build in interface ServiceConfigurator
        Parameters:
        target - a service target
        Returns:
        the builder of the service.
      • startSynchronously

        public AsyncServiceConfigurator startSynchronously()
        Indicates that this service should *not* be started asynchronously.
        Returns:
        a reference to this builder
      • stopSynchronously

        public AsyncServiceConfigurator stopSynchronously()
        Indicates that this service should *not* be stopped asynchronously.
        Returns:
        a reference to this builder