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 Deprecated Methods Modifier and Type Method Description voidaddDeployedExtension(String identifier, ExtensionInfo extensionInfo)Adds an extension that has been deployed to the servervoidaddDeployedExtension(org.jboss.modules.ModuleIdentifier identifier, ExtensionInfo extensionInfo)Deprecated, for removal: This API element is subject to removal in a future version.UseaddDeployedExtension(String, ExtensionInfo)insteadorg.jboss.modules.ModuleIdentifierfindExtension(String name, String minSpecVersion, String minImplVersion, String requiredVendorId)Deprecated, for removal: This API element is subject to removal in a future version.StringfindExtensionAsString(String name, String minSpecVersion, String minImplVersion, String requiredVendorId)Find the identifier of an extension module, returningnullif no matching extension is available.booleanremoveDeployedExtension(String name, String identifier)Removes extension information that has been deployed to the serverbooleanremoveDeployedExtension(String name, org.jboss.modules.ModuleIdentifier identifier)Deprecated, for removal: This API element is subject to removal in a future version.UseremoveDeployedExtension(String, String)instead
-
-
-
Method Detail
-
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, 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 module identifier of the extension found.
-
findExtensionAsString
String findExtensionAsString(String name, String minSpecVersion, String minImplVersion, String requiredVendorId)
Find the identifier of an extension module, 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 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.UseaddDeployedExtension(String, ExtensionInfo)insteadAdds an extension that has been deployed to the server- Parameters:
identifier- The module identifier of the extensionextensionInfo- 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 extensionextensionInfo- 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.UseremoveDeployedExtension(String, String)insteadRemoves 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
-
-