Skip navigation links
WildFly: Server 29.0.0.Beta4
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Fields
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.jboss.as.server.Bootstrap.Configuration.getStartTime()
    Use Bootstrap.Configuration.getServerEnvironment().getStartTime()
    org.jboss.as.server.deployment.Attachments.MODULE_IDENTIFIER
    use Attachments.MODULE_NAME
    org.jboss.as.server.deployment.client.ModelControllerServerDeploymentManager
    Use ServerDeploymentManager.Factory
    org.jboss.as.server.deployment.DelegatingSupplier
    To be removed without replacement.
    org.jboss.as.server.deployment.DeploymentModelUtils
    Use DeploymentResourceSupport from an attachment on the DeploymentUnit
    org.jboss.as.server.deployment.DeploymentPhaseContext.getServiceTarget()
    Use DeploymentPhaseContext.getRequirementServiceTarget() instead.
    org.jboss.as.server.deployment.DeploymentPhaseContext.requires(ServiceName, DelegatingSupplier<T>)
    Use DeploymentPhaseContext.requires(ServiceDependency) instead.
    org.jboss.as.server.deployment.module.AdditionalModuleSpecification.addResourceRoot(ResourceRoot)
    unused method will be removed
    org.jboss.as.server.deployment.module.AdditionalModuleSpecification.addResourceRoots(Collection<ResourceRoot>)
    unused method will be removed
    org.jboss.as.server.deployment.module.ModuleAliasChecker.checkModuleAliasesForExclusions(List<ModuleIdentifier>, ModuleAliasChecker.MessageContext, String)
    Iterate over all the identifiers and call ModuleAliasChecker.checkModuleAliasesForExclusion(String, MessageContext, String)
    org.jboss.as.server.deployment.module.ModuleDependency(ModuleLoader, String, boolean, boolean, boolean, boolean)
    Use a ModuleDependency.Builder
    org.jboss.as.server.deployment.module.ModuleDependency(ModuleLoader, String, boolean, boolean, boolean, boolean, String)
    Use a ModuleDependency.Builder
    org.jboss.as.server.deployment.module.ModuleDependency(ModuleLoader, ModuleIdentifier, boolean, boolean, boolean, boolean)
    Use a ModuleDependency.Builder or ModuleDependency(org.jboss.modules.ModuleLoader,java.lang.String,boolean,boolean,boolean,boolean)
    org.jboss.as.server.deployment.module.ModuleDependency(ModuleLoader, ModuleIdentifier, boolean, boolean, boolean, boolean, String)
    Use a ModuleDependency.Builder
    org.jboss.as.server.deployment.module.ModuleDependency.getIdentifier()
    use ModuleDependency.getDependencyModule()
    org.jboss.as.server.deployment.module.ModuleIdentifierProcessor.createModuleIdentifier(String, ResourceRoot, DeploymentUnit, VirtualFile, boolean)
    Use ModuleIdentifierProcessor.createModuleIdentifierAsString(String, ResourceRoot, DeploymentUnit, VirtualFile, boolean) instead
    org.jboss.as.server.deployment.module.ModuleSpecification.addAlias(ModuleIdentifier)
    use ModuleSpecification.addModuleAlias(String)
    org.jboss.as.server.deployment.module.ModuleSpecification.addAliases(Collection<ModuleIdentifier>)
    iterate over the identifiers and call ModuleSpecification.addModuleAlias(String)
    org.jboss.as.server.deployment.module.ModuleSpecification.addExclusion(ModuleIdentifier)
    use ModuleSpecification.addModuleExclusion(String)
    org.jboss.as.server.deployment.module.ModuleSpecification.addExclusions(Iterable<ModuleIdentifier>)
    iterate over the exclusions and call ModuleSpecification.addModuleExclusion(String)
    org.jboss.as.server.deployment.module.ModuleSpecification.getAliases()
    use ModuleSpecification.getModuleAliases()
    org.jboss.as.server.deployment.module.ModuleSpecification.getNonexistentExcludedDependencies()
    use ModuleSpecification.getFictitiousExcludedDependencies()
    org.jboss.as.server.moduleservice.ExtensionIndex.addDeployedExtension(ModuleIdentifier, ExtensionInfo)
    Use ExtensionIndex.addDeployedExtension(String, ExtensionInfo) instead
    org.jboss.as.server.moduleservice.ExtensionIndex.findExtension(String, String, String, String)
    Use ExtensionIndex.findExtensionAsString(String, String, String, String) instead
    org.jboss.as.server.moduleservice.ExtensionIndex.removeDeployedExtension(String, ModuleIdentifier)
    Use ExtensionIndex.removeDeployedExtension(String, String) instead
    org.jboss.as.server.moduleservice.ExtensionIndexService.moduleIdentifier(String, String, String, String)
    org.jboss.as.server.moduleservice.ExternalModule.addExternalModule(String, String, ServiceRegistry, ServiceTarget)
    Use ExternalModule.addExternalModuleAsString(String, String, ServiceRegistry, ServiceTarget) instead.
    org.jboss.as.server.moduleservice.ExternalModule.addExternalModule(String, ServiceRegistry, ServiceTarget)
    Use ExternalModule.addExternalModuleAsString(String, ServiceRegistry, ServiceTarget) instead.
    org.jboss.as.server.moduleservice.ExternalModuleSpecService(ModuleIdentifier, File)
    Use ExternalModuleSpecService(String, File) instead.
    org.jboss.as.server.moduleservice.ModuleDefinition(ModuleIdentifier, Set<ModuleDependency>, ModuleSpec)
    use ModuleDefinition(String, Set, ModuleSpec)
    org.jboss.as.server.moduleservice.ModuleDefinition.getModuleIdentifier()
    use ModuleDefinition.getModuleName()
    org.jboss.as.server.moduleservice.ModuleLoadService.install(ServiceTarget, ModuleIdentifier)
    Use ModuleLoadService.install(ServiceTarget, String) instead
    org.jboss.as.server.moduleservice.ModuleLoadService.installAliases(ServiceTarget, ModuleIdentifier, List<String>)
    Use ModuleLoadService.installAliases(ServiceTarget, String, List) instead
    org.jboss.as.server.moduleservice.ModuleResolvePhaseService.moduleSpecServiceName(ModuleIdentifier, int)
    this method will be made private
    org.jboss.as.server.moduleservice.ServiceModuleLoader.findModule(ModuleIdentifier)
    Will be made protected in line with this method in the parent class Use ServiceModuleLoader.findModule(String)
    org.jboss.as.server.moduleservice.ServiceModuleLoader.installModuleResolvedService(ServiceTarget, ModuleIdentifier)
    Use ServiceModuleLoader.installModuleResolvedService(ServiceTarget, String)
    org.jboss.as.server.moduleservice.ServiceModuleLoader.isDynamicModule(ModuleIdentifier)
    Use ServiceModuleLoader.isDynamicModule(String)
    org.jboss.as.server.moduleservice.ServiceModuleLoader.moduleResolvedServiceName(ModuleIdentifier)
    Use ServiceModuleLoader.moduleResolvedServiceName(String)
    org.jboss.as.server.moduleservice.ServiceModuleLoader.moduleServiceName(ModuleIdentifier)
    Use ServiceModuleLoader.moduleServiceName(String)
    org.jboss.as.server.moduleservice.ServiceModuleLoader.moduleSpecServiceName(ModuleIdentifier)
    Use ServiceModuleLoader.moduleSpecServiceName(String)
    org.jboss.as.server.ServerEnvironment(String, Properties, Map<String, String>, String, ConfigurationFile.InteractionPolicy, ServerEnvironment.LaunchType, RunningMode, ProductConfig, long, boolean, boolean, String, String, String, String)
    use the variant that takes an elapsedTime parameter instead of long startTime
    org.jboss.as.server.Services.addServerExecutorDependency(ServiceBuilder<T>, Injector<ExecutorService>)
    Use Services.requireServerExecutor(ServiceBuilder) instead. This method will be removed in the future.
    org.jboss.as.server.Services.JBOSS_EXTERNAL_MODULE_SERVICE
    use capability @code{org.wildfly.management.external-module}
    org.jboss.as.server.Services.JBOSS_SERVER_EXECUTOR
    use capability @code{org.wildfly.management.executor}
    org.jboss.as.server.Services.JBOSS_SUSPEND_CONTROLLER
    use capability @code{org.wildfly.server.suspend-controller}
    org.jboss.as.server.services.net.NetworkInterfaceService.JBOSS_NETWORK_INTERFACE
    use the org.wildfly.network.interface capability
    org.jboss.as.server.suspend.CountingRequestCountCallback
    To be removed without replacement
    org.jboss.as.server.suspend.OperationListener.timeout()
    This event is no longer emitted.
    org.jboss.as.server.suspend.ServerActivity
    Use SuspendableActivity instead.
    org.jboss.as.server.suspend.ServerActivityCallback
    To be removed without replacement.
    org.jboss.as.server.suspend.SuspendController.nonGracefulStart()
    Superseded by resume(ServerResumeContext).
    org.jboss.as.server.suspend.SuspendController.registerActivity(ServerActivity)
    Superseded by SuspendableActivityRegistry.registerActivity(SuspendableActivity).
    org.jboss.as.server.suspend.SuspendController.resume()
    Superseded by resume(ServerResumeContext).
    org.jboss.as.server.suspend.SuspendController.setStartSuspended(boolean)
    org.jboss.as.server.suspend.SuspendController.suspend(long)
    Superseded by suspend(ServerSuspendContext) using CompletableFuture.completeOnTimeout(Object, long, TimeUnit).
    org.jboss.as.server.suspend.SuspendController.unRegisterActivity(ServerActivity)
    Superseded by unregisterActivity(SuspendableActivity).
  • Deprecated Interfaces
    Interface
    Description
    org.jboss.as.server.deployment.transformation.DeploymentTransformer
    org.jboss.as.server.suspend.ServerActivity
    Use SuspendableActivity instead.
    org.jboss.as.server.suspend.ServerActivityCallback
    To be removed without replacement.
  • Deprecated Classes
    Class
    Description
    org.jboss.as.server.deployment.client.ModelControllerServerDeploymentManager
    Use ServerDeploymentManager.Factory
    org.jboss.as.server.deployment.DelegatingSupplier
    To be removed without replacement.
    org.jboss.as.server.deployment.DeploymentModelUtils
    Use DeploymentResourceSupport from an attachment on the DeploymentUnit
    org.jboss.as.server.ExternalManagementRequestExecutor
    may be removed at any time.
    org.jboss.as.server.suspend.CountingRequestCountCallback
    To be removed without replacement
  • Deprecated Fields
    Field
    Description
    org.jboss.as.server.controller.descriptions.ServerDescriptionConstants.PROCESS_STATE
    see ServerDescriptionConstants.RUNTIME_CONFIGURATION_STATE
    org.jboss.as.server.controller.resources.ServerRootResourceDefinition.TIMEOUT
    Since Version 9.0.0, use suspend-timeout instead.
    org.jboss.as.server.deployment.Attachments.MODULE_IDENTIFIER
    use Attachments.MODULE_NAME
    org.jboss.as.server.ExternalManagementRequestExecutor.SERVICE_NAME
    may be removed at any time
    org.jboss.as.server.ServerEnvironment.JBOSS_PERSIST_SERVER_CONFIG
    for internal us only, may change or be removed at any time without notice
    org.jboss.as.server.ServerEnvironmentService.SERVICE_NAME
    Generate ServiceName via ServerEnvironment.SERVICE_DESCRIPTOR instead.
    org.jboss.as.server.Services.JBOSS_EXTERNAL_MODULE_SERVICE
    use capability @code{org.wildfly.management.external-module}
    org.jboss.as.server.Services.JBOSS_SERVER_EXECUTOR
    use capability @code{org.wildfly.management.executor}
    org.jboss.as.server.Services.JBOSS_SUSPEND_CONTROLLER
    use capability @code{org.wildfly.server.suspend-controller}
    org.jboss.as.server.services.net.NetworkInterfaceService.JBOSS_NETWORK_INTERFACE
    use the org.wildfly.network.interface capability
  • Deprecated Methods
    Method
    Description
    org.jboss.as.server.Bootstrap.Configuration.getStartTime()
    Use Bootstrap.Configuration.getServerEnvironment().getStartTime()
    org.jboss.as.server.deployment.DeploymentPhaseContext.getServiceTarget()
    Use DeploymentPhaseContext.getRequirementServiceTarget() instead.
    org.jboss.as.server.deployment.DeploymentPhaseContext.requires(ServiceName, DelegatingSupplier<T>)
    Use DeploymentPhaseContext.requires(ServiceDependency) instead.
    org.jboss.as.server.deployment.module.AdditionalModuleSpecification.addResourceRoot(ResourceRoot)
    unused method will be removed
    org.jboss.as.server.deployment.module.AdditionalModuleSpecification.addResourceRoots(Collection<ResourceRoot>)
    unused method will be removed
    org.jboss.as.server.deployment.module.ModuleAliasChecker.checkModuleAliasesForExclusions(List<ModuleIdentifier>, ModuleAliasChecker.MessageContext, String)
    Iterate over all the identifiers and call ModuleAliasChecker.checkModuleAliasesForExclusion(String, MessageContext, String)
    org.jboss.as.server.deployment.module.ModuleDependency.getIdentifier()
    use ModuleDependency.getDependencyModule()
    org.jboss.as.server.deployment.module.ModuleIdentifierProcessor.createModuleIdentifier(String, ResourceRoot, DeploymentUnit, VirtualFile, boolean)
    Use ModuleIdentifierProcessor.createModuleIdentifierAsString(String, ResourceRoot, DeploymentUnit, VirtualFile, boolean) instead
    org.jboss.as.server.deployment.module.ModuleSpecification.addAlias(ModuleIdentifier)
    use ModuleSpecification.addModuleAlias(String)
    org.jboss.as.server.deployment.module.ModuleSpecification.addAliases(Collection<ModuleIdentifier>)
    iterate over the identifiers and call ModuleSpecification.addModuleAlias(String)
    org.jboss.as.server.deployment.module.ModuleSpecification.addExclusion(ModuleIdentifier)
    use ModuleSpecification.addModuleExclusion(String)
    org.jboss.as.server.deployment.module.ModuleSpecification.addExclusions(Iterable<ModuleIdentifier>)
    iterate over the exclusions and call ModuleSpecification.addModuleExclusion(String)
    org.jboss.as.server.deployment.module.ModuleSpecification.getAliases()
    use ModuleSpecification.getModuleAliases()
    org.jboss.as.server.deployment.module.ModuleSpecification.getNonexistentExcludedDependencies()
    use ModuleSpecification.getFictitiousExcludedDependencies()
    org.jboss.as.server.moduleservice.ExtensionIndex.addDeployedExtension(ModuleIdentifier, ExtensionInfo)
    Use ExtensionIndex.addDeployedExtension(String, ExtensionInfo) instead
    org.jboss.as.server.moduleservice.ExtensionIndex.findExtension(String, String, String, String)
    Use ExtensionIndex.findExtensionAsString(String, String, String, String) instead
    org.jboss.as.server.moduleservice.ExtensionIndex.removeDeployedExtension(String, ModuleIdentifier)
    Use ExtensionIndex.removeDeployedExtension(String, String) instead
    org.jboss.as.server.moduleservice.ExtensionIndexService.moduleIdentifier(String, String, String, String)
    org.jboss.as.server.moduleservice.ExternalModule.addExternalModule(String, String, ServiceRegistry, ServiceTarget)
    Use ExternalModule.addExternalModuleAsString(String, String, ServiceRegistry, ServiceTarget) instead.
    org.jboss.as.server.moduleservice.ExternalModule.addExternalModule(String, ServiceRegistry, ServiceTarget)
    Use ExternalModule.addExternalModuleAsString(String, ServiceRegistry, ServiceTarget) instead.
    org.jboss.as.server.moduleservice.ModuleDefinition.getModuleIdentifier()
    use ModuleDefinition.getModuleName()
    org.jboss.as.server.moduleservice.ModuleLoadService.install(ServiceTarget, ModuleIdentifier)
    Use ModuleLoadService.install(ServiceTarget, String) instead
    org.jboss.as.server.moduleservice.ModuleLoadService.installAliases(ServiceTarget, ModuleIdentifier, List<String>)
    Use ModuleLoadService.installAliases(ServiceTarget, String, List) instead
    org.jboss.as.server.moduleservice.ModuleResolvePhaseService.moduleSpecServiceName(ModuleIdentifier, int)
    this method will be made private
    org.jboss.as.server.moduleservice.ServiceModuleLoader.findModule(ModuleIdentifier)
    Will be made protected in line with this method in the parent class Use ServiceModuleLoader.findModule(String)
    org.jboss.as.server.moduleservice.ServiceModuleLoader.installModuleResolvedService(ServiceTarget, ModuleIdentifier)
    Use ServiceModuleLoader.installModuleResolvedService(ServiceTarget, String)
    org.jboss.as.server.moduleservice.ServiceModuleLoader.isDynamicModule(ModuleIdentifier)
    Use ServiceModuleLoader.isDynamicModule(String)
    org.jboss.as.server.moduleservice.ServiceModuleLoader.moduleResolvedServiceName(ModuleIdentifier)
    Use ServiceModuleLoader.moduleResolvedServiceName(String)
    org.jboss.as.server.moduleservice.ServiceModuleLoader.moduleServiceName(ModuleIdentifier)
    Use ServiceModuleLoader.moduleServiceName(String)
    org.jboss.as.server.moduleservice.ServiceModuleLoader.moduleSpecServiceName(ModuleIdentifier)
    Use ServiceModuleLoader.moduleSpecServiceName(String)
    org.jboss.as.server.Services.addServerExecutorDependency(ServiceBuilder<T>, Injector<ExecutorService>)
    Use Services.requireServerExecutor(ServiceBuilder) instead. This method will be removed in the future.
    org.jboss.as.server.suspend.OperationListener.timeout()
    This event is no longer emitted.
    org.jboss.as.server.suspend.SuspendController.nonGracefulStart()
    Superseded by resume(ServerResumeContext).
    org.jboss.as.server.suspend.SuspendController.registerActivity(ServerActivity)
    Superseded by SuspendableActivityRegistry.registerActivity(SuspendableActivity).
    org.jboss.as.server.suspend.SuspendController.resume()
    Superseded by resume(ServerResumeContext).
    org.jboss.as.server.suspend.SuspendController.setStartSuspended(boolean)
    org.jboss.as.server.suspend.SuspendController.suspend(long)
    Superseded by suspend(ServerSuspendContext) using CompletableFuture.completeOnTimeout(Object, long, TimeUnit).
    org.jboss.as.server.suspend.SuspendController.unRegisterActivity(ServerActivity)
    Superseded by unregisterActivity(SuspendableActivity).
  • Deprecated Constructors
    Constructor
    Description
    org.jboss.as.server.deployment.module.ModuleDependency(ModuleLoader, String, boolean, boolean, boolean, boolean)
    Use a ModuleDependency.Builder
    org.jboss.as.server.deployment.module.ModuleDependency(ModuleLoader, String, boolean, boolean, boolean, boolean, String)
    Use a ModuleDependency.Builder
    org.jboss.as.server.deployment.module.ModuleDependency(ModuleLoader, ModuleIdentifier, boolean, boolean, boolean, boolean)
    Use a ModuleDependency.Builder or ModuleDependency(org.jboss.modules.ModuleLoader,java.lang.String,boolean,boolean,boolean,boolean)
    org.jboss.as.server.deployment.module.ModuleDependency(ModuleLoader, ModuleIdentifier, boolean, boolean, boolean, boolean, String)
    Use a ModuleDependency.Builder
    org.jboss.as.server.moduleservice.ExternalModuleSpecService(ModuleIdentifier, File)
    Use ExternalModuleSpecService(String, File) instead.
    org.jboss.as.server.moduleservice.ModuleDefinition(ModuleIdentifier, Set<ModuleDependency>, ModuleSpec)
    use ModuleDefinition(String, Set, ModuleSpec)
    org.jboss.as.server.ServerEnvironment(String, Properties, Map<String, String>, String, ConfigurationFile.InteractionPolicy, ServerEnvironment.LaunchType, RunningMode, ProductConfig, long, boolean, boolean, String, String, String, String)
    use the variant that takes an elapsedTime parameter instead of long startTime

Copyright © 2025 JBoss by Red Hat. All rights reserved.