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
FieldsFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionExternalModuleSpecService(String moduleIdentifier, File file) ExternalModuleSpecService(org.jboss.modules.ModuleIdentifier moduleIdentifier, File file) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
-
Field Details
-
MAX_NUMBER_OF_JAR_RESOURCES
public static final int MAX_NUMBER_OF_JAR_RESOURCES
-
-
Constructor Details
-
ExternalModuleSpecService
@Deprecated(forRemoval=true, since="28.0.0") public ExternalModuleSpecService(org.jboss.modules.ModuleIdentifier moduleIdentifier, File file) Deprecated, for removal: This API element is subject to removal in a future version.UseExternalModuleSpecService(String, File)instead.Creates a new ExternalModuleSpecService.- Parameters:
moduleIdentifier- the module identifierfile- the file
-
ExternalModuleSpecService
-
-
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<ModuleDefinition>- Throws:
IllegalStateExceptionIllegalArgumentException
-
ExternalModuleSpecService(String, File)instead.