Interface ExtensionIndex

    • Method Detail

      • findExtension

        org.jboss.modules.ModuleIdentifier findExtension​(String name,
                                                         String minSpecVersion,
                                                         String minImplVersion,
                                                         String requiredVendorId)
        Find an extension, 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 resource root of the first matched extension
      • addDeployedExtension

        void addDeployedExtension​(org.jboss.modules.ModuleIdentifier 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

        boolean removeDeployedExtension​(String name,
                                        org.jboss.modules.ModuleIdentifier identifier)
        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