Package org.jboss.as.ejb3.deployment
Interface DeploymentRepository
-
- All Known Implementing Classes:
DeploymentRepositoryService
public interface DeploymentRepository- Author:
- Radoslav Husar
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(DeploymentModuleIdentifier identifier, ModuleDeployment deployment)voidaddListener(DeploymentRepositoryListener listener)Map<DeploymentModuleIdentifier,ModuleDeployment>getModules()Returns all deployments.Map<DeploymentModuleIdentifier,ModuleDeployment>getStartedModules()Returns all deployments that are in a started state, i.e.booleanisSuspended()voidremove(DeploymentModuleIdentifier identifier)voidremoveListener(DeploymentRepositoryListener listener)voidresume()booleanstartDeployment(DeploymentModuleIdentifier identifier)voidsuspend()
-
-
-
Method Detail
-
add
void add(DeploymentModuleIdentifier identifier, ModuleDeployment deployment)
-
startDeployment
boolean startDeployment(DeploymentModuleIdentifier identifier)
-
addListener
void addListener(DeploymentRepositoryListener listener)
-
removeListener
void removeListener(DeploymentRepositoryListener listener)
-
remove
void remove(DeploymentModuleIdentifier identifier)
-
suspend
void suspend()
-
resume
void resume()
-
isSuspended
boolean isSuspended()
-
getModules
Map<DeploymentModuleIdentifier,ModuleDeployment> getModules()
Returns all deployments. These deployments may not be in a started state, i.e. not all components might be ready to receive invocations.- Returns:
- all deployments
-
getStartedModules
Map<DeploymentModuleIdentifier,ModuleDeployment> getStartedModules()
Returns all deployments that are in a started state, i.e. all components are ready to receive invocations.- Returns:
- all started deployments
-
-