public class GlobalDirectoryDeploymentService extends Object implements org.jboss.msc.Service
ExternalModule.
Basically is used as an intermediate step in GlobalDirectoryDependencyProcessor to retrieve the global directories
supplied by the services installed with the corresponding ee/global-directory resource. Those services are consumed here
and for each supplied value an ExternalModule is created and added as system dependency to the current deployment.
| Constructor and Description |
|---|
GlobalDirectoryDeploymentService(List<Supplier<GlobalDirectoryResourceDefinition.GlobalDirectory>> globalDirectories,
org.jboss.as.server.moduleservice.ExternalModule externalModuleService,
org.jboss.as.server.deployment.module.ModuleSpecification moduleSpecification,
org.jboss.modules.ModuleLoader moduleLoader,
org.jboss.msc.service.ServiceRegistry serviceRegistry,
org.jboss.msc.service.ServiceTarget serviceTarget) |
| Modifier and Type | Method and Description |
|---|---|
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public GlobalDirectoryDeploymentService(List<Supplier<GlobalDirectoryResourceDefinition.GlobalDirectory>> globalDirectories, org.jboss.as.server.moduleservice.ExternalModule externalModuleService, org.jboss.as.server.deployment.module.ModuleSpecification moduleSpecification, org.jboss.modules.ModuleLoader moduleLoader, org.jboss.msc.service.ServiceRegistry serviceRegistry, org.jboss.msc.service.ServiceTarget serviceTarget)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.ServiceCopyright © 2023 JBoss by Red Hat. All rights reserved.