public class DeploymentRepositoryService extends Object implements DeploymentRepository, org.jboss.msc.service.Service<DeploymentRepository>
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Constructor and Description |
|---|
DeploymentRepositoryService() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(DeploymentModuleIdentifier identifier,
ModuleDeployment deployment) |
void |
addListener(DeploymentRepositoryListener listener) |
Map<DeploymentModuleIdentifier,ModuleDeployment> |
getModules()
Returns all deployments.
|
Map<DeploymentModuleIdentifier,ModuleDeployment> |
getStartedModules()
Returns all deployments that are in a started state, i.e. all components are ready to receive invocations.
|
DeploymentRepository |
getValue() |
void |
remove(DeploymentModuleIdentifier identifier) |
void |
removeListener(DeploymentRepositoryListener listener) |
void |
resume() |
void |
start(org.jboss.msc.service.StartContext context) |
boolean |
startDeployment(DeploymentModuleIdentifier identifier) |
void |
stop(org.jboss.msc.service.StopContext context) |
void |
suspend() |
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.Servicepublic DeploymentRepository getValue()
getValue in interface org.jboss.msc.value.Value<DeploymentRepository>public void add(DeploymentModuleIdentifier identifier, ModuleDeployment deployment)
add in interface DeploymentRepositorypublic boolean startDeployment(DeploymentModuleIdentifier identifier)
startDeployment in interface DeploymentRepositorypublic void addListener(DeploymentRepositoryListener listener)
addListener in interface DeploymentRepositorypublic void removeListener(DeploymentRepositoryListener listener)
removeListener in interface DeploymentRepositorypublic void remove(DeploymentModuleIdentifier identifier)
remove in interface DeploymentRepositorypublic void suspend()
suspend in interface DeploymentRepositorypublic void resume()
resume in interface DeploymentRepositorypublic Map<DeploymentModuleIdentifier,ModuleDeployment> getModules()
DeploymentRepositorygetModules in interface DeploymentRepositorypublic Map<DeploymentModuleIdentifier,ModuleDeployment> getStartedModules()
DeploymentRepositorygetStartedModules in interface DeploymentRepositoryCopyright © 2020 JBoss by Red Hat. All rights reserved.