Interface ExtensionIndex

All Known Implementing Classes:
ExtensionIndexService

public interface ExtensionIndex
An index of available extensions.
Author:
David M. Lloyd
  • Method Details

    • findExtension

      @Deprecated(forRemoval=true, since="28.0.0") org.jboss.modules.ModuleIdentifier findExtension(String name, String minSpecVersion, String minImplVersion, String requiredVendorId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Find the identifier of an extension module, returning null if no matching extension is available.
      Parameters:
      name - the extension name
      minSpecVersion - the minimum spec version to match, or null to match any
      minImplVersion - the minimum implementation version to match, or null to match any
      requiredVendorId - the vendor ID to require, or null to match any
      Returns:
      the module identifier of the extension found.
    • findExtensionAsString

      String findExtensionAsString(String name, String minSpecVersion, String minImplVersion, String requiredVendorId)
      Find the identifier of an extension module, returning null if no matching extension is available.
      Parameters:
      name - the extension name
      minSpecVersion - the minimum spec version to match, or null to match any
      minImplVersion - the minimum implementation version to match, or null to match any
      requiredVendorId - the vendor ID to require, or null to match any
      Returns:
      the module identifier of the extension found.
    • addDeployedExtension

      @Deprecated(forRemoval=true, since="28.0.0") void addDeployedExtension(org.jboss.modules.ModuleIdentifier identifier, ExtensionInfo extensionInfo)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Adds an extension that has been deployed to the server
      Parameters:
      identifier - The module identifier of the extension
      extensionInfo - The extension data
    • addDeployedExtension

      void addDeployedExtension(String identifier, ExtensionInfo extensionInfo)
      Adds an extension that has been deployed to the server
      Parameters:
      identifier - The module identifier of the extension
      extensionInfo - The extension data
    • removeDeployedExtension

      @Deprecated(forRemoval=true, since="28.0.0") boolean removeDeployedExtension(String name, org.jboss.modules.ModuleIdentifier identifier)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Removes extension information that has been deployed to the server
      Parameters:
      name - The extension name
      identifier - The extension Identifier
      Returns:
      true if the extension was found and removed
    • removeDeployedExtension

      boolean removeDeployedExtension(String name, String identifier)
      Removes extension information that has been deployed to the server
      Parameters:
      name - The extension name
      identifier - The extension identifier to remove
      Returns:
      true if the extension was found and removed