Class SingletonDeploymentUnitPhaseBuilder

java.lang.Object
org.wildfly.extension.clustering.singleton.deployment.SingletonDeploymentUnitPhaseBuilder
All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitPhaseBuilder

public class SingletonDeploymentUnitPhaseBuilder extends Object implements org.jboss.as.server.deployment.DeploymentUnitPhaseBuilder
Builds a singleton service for the next phase in the deployment chain, if configured.
Author:
Paul Ferraro
  • Constructor Details

    • SingletonDeploymentUnitPhaseBuilder

      public SingletonDeploymentUnitPhaseBuilder(org.jboss.as.controller.capability.CapabilityServiceSupport support, SingletonPolicy policy)
  • Method Details

    • build

      public <T> org.jboss.msc.service.ServiceBuilder<T> build(org.jboss.msc.service.ServiceTarget target, org.jboss.msc.service.ServiceName name, org.jboss.msc.service.Service<T> service)
      Specified by:
      build in interface org.jboss.as.server.deployment.DeploymentUnitPhaseBuilder