Package org.jboss.as.ejb3.deployment
Class ModuleDeployment
java.lang.Object
org.jboss.as.ejb3.deployment.ModuleDeployment
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<ModuleDeployment>,org.jboss.msc.value.Value<ModuleDeployment>
public class ModuleDeployment
extends Object
implements org.jboss.msc.service.Service<ModuleDeployment>
Represents a deployed module on AS7
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classservice that marks a module a started -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNameFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionModuleDeployment(DeploymentModuleIdentifier identifier, Map<String, EjbDeploymentInformation> ejbs) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.value.InjectedValue<DeploymentRepository>getEjbs()getValue()voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context)
-
Field Details
-
SERVICE_NAME
public static final org.jboss.msc.service.ServiceName SERVICE_NAME -
START_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName START_SERVICE_NAME
-
-
Constructor Details
-
ModuleDeployment
public ModuleDeployment(DeploymentModuleIdentifier identifier, Map<String, EjbDeploymentInformation> ejbs)
-
-
Method Details
-
getIdentifier
-
getEjbs
-
getDeploymentRepository
-
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<ModuleDeployment>- Throws:
IllegalStateExceptionIllegalArgumentException
-