Class ExternalModuleSpecService
- java.lang.Object
-
- org.jboss.as.server.moduleservice.ExternalModuleSpecService
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<ModuleDefinition>,org.jboss.msc.value.Value<ModuleDefinition>
public class ExternalModuleSpecService extends Object implements org.jboss.msc.service.Service<ModuleDefinition>
Service that manages the module spec for external modules (i.e. modules that reside outside of the application server).- Author:
- Stuart Douglas
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_NUMBER_OF_JAR_RESOURCES
-
Constructor Summary
Constructors Constructor Description ExternalModuleSpecService(org.jboss.modules.ModuleIdentifier moduleIdentifier, File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModuleDefinitiongetValue()voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Constructor Detail
-
ExternalModuleSpecService
public ExternalModuleSpecService(org.jboss.modules.ModuleIdentifier moduleIdentifier, File file)
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Specified by:
startin interfaceorg.jboss.msc.service.Service<ModuleDefinition>- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stopin interfaceorg.jboss.msc.Service- Specified by:
stopin interfaceorg.jboss.msc.service.Service<ModuleDefinition>
-
getValue
public ModuleDefinition getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<ModuleDefinition>- Throws:
IllegalStateExceptionIllegalArgumentException
-
-