Interface ExtensionIndex
-
- All Known Implementing Classes:
ExtensionIndexService
public interface ExtensionIndexAn index of available extensions.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDeployedExtension(org.jboss.modules.ModuleIdentifier identifier, ExtensionInfo extensionInfo)Adds an extension that has been deployed to the serverorg.jboss.modules.ModuleIdentifierfindExtension(String name, String minSpecVersion, String minImplVersion, String requiredVendorId)Find an extension, returningnullif no matching extension is available.booleanremoveDeployedExtension(String name, org.jboss.modules.ModuleIdentifier identifier)Removes extension information that has been deployed to the server
-
-
-
Method Detail
-
findExtension
org.jboss.modules.ModuleIdentifier findExtension(String name, String minSpecVersion, String minImplVersion, String requiredVendorId)
Find an extension, returningnullif no matching extension is available.- Parameters:
name- the extension nameminSpecVersion- the minimum spec version to match, ornullto match anyminImplVersion- the minimum implementation version to match, ornullto match anyrequiredVendorId- the vendor ID to require, ornullto 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 extensionextensionInfo- 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 nameidentifier- The extension Identifier- Returns:
- true if the extension was found and removed
-
-