public DistributableSessionManagerFactoryBuilder(SessionManagerFactoryBuilder builder) {
this.builder = builder;
}
@Override
public ServiceBuilder<SessionManagerFactory> build(ServiceTarget target, ServiceName name, ServiceName deploymentServiceName, Module module, JBossWebMetaData metaData) {
<BUG>ServiceName clusteringServiceName = name.append("clustering");
</BUG>
this.builder.buildDeploymentDependency(target, clusteringServiceName, deploymentServiceName, module, metaData)
.setInitialMode(ServiceController.Mode.ON_DEMAND)
.install()

public DistributableSessionManagerFactoryBuilder(SessionManagerFactoryBuilder builder) {
this.builder = builder;
}
@Override
public ServiceBuilder<SessionManagerFactory> build(ServiceTarget target, ServiceName name, ServiceName deploymentServiceName, Module module, JBossWebMetaData metaData) {
ServiceName clusteringServiceName = name.append("distributable");
this.builder.buildDeploymentDependency(target, clusteringServiceName, deploymentServiceName, module, metaData)
.setInitialMode(ServiceController.Mode.ON_DEMAND)
.install()
