Package org.jboss.as.ejb3.deployment
Class DeploymentRepositoryService
java.lang.Object
org.jboss.as.ejb3.deployment.DeploymentRepositoryService
- All Implemented Interfaces:
DeploymentRepository,org.jboss.msc.Service,org.jboss.msc.service.Service<DeploymentRepository>,org.jboss.msc.value.Value<DeploymentRepository>
public class DeploymentRepositoryService
extends Object
implements DeploymentRepository, org.jboss.msc.service.Service<DeploymentRepository>
Repository for information about deployed modules. This includes information on all the deployed Jakarta Enterprise Beans's in the module
- Author:
- Stuart Douglas
-
Field Summary
FieldsFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(DeploymentModuleIdentifier identifier, ModuleDeployment deployment) voidaddListener(DeploymentRepositoryListener listener) Returns all deployments.Returns all deployments that are in a started state, i.e.getValue()booleanvoidremove(DeploymentModuleIdentifier identifier) voidremoveListener(DeploymentRepositoryListener listener) voidresume()voidstart(org.jboss.msc.service.StartContext context) booleanstartDeployment(DeploymentModuleIdentifier identifier) voidstop(org.jboss.msc.service.StopContext context) voidsuspend()
-
Field Details
-
SERVICE_NAME
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
-
-
Constructor Details
-
DeploymentRepositoryService
public DeploymentRepositoryService()
-
-
Method Details
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException - Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service
-
getValue
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<DeploymentRepository>
-
add
- Specified by:
addin interfaceDeploymentRepository
-
startDeployment
- Specified by:
startDeploymentin interfaceDeploymentRepository
-
addListener
- Specified by:
addListenerin interfaceDeploymentRepository
-
removeListener
- Specified by:
removeListenerin interfaceDeploymentRepository
-
remove
- Specified by:
removein interfaceDeploymentRepository
-
isSuspended
public boolean isSuspended()- Specified by:
isSuspendedin interfaceDeploymentRepository
-
suspend
public void suspend()- Specified by:
suspendin interfaceDeploymentRepository
-
resume
public void resume()- Specified by:
resumein interfaceDeploymentRepository
-
getModules
Description copied from interface:DeploymentRepositoryReturns all deployments. These deployments may not be in a started state, i.e. not all components might be ready to receive invocations.- Specified by:
getModulesin interfaceDeploymentRepository- Returns:
- all deployments
-
getStartedModules
Description copied from interface:DeploymentRepositoryReturns all deployments that are in a started state, i.e. all components are ready to receive invocations.- Specified by:
getStartedModulesin interfaceDeploymentRepository- Returns:
- all started deployments
-