Class WildFlyModuleUtils


  • public final class WildFlyModuleUtils
    extends Object
    Utility class providing informations about modules.
    • Method Detail

      • isModuleDeployed

        public static boolean isModuleDeployed​(InstalledLocalContainer container,
                                               String jarFile)
        Check if resource is deployed as module.
        Parameters:
        container - WildFly installed local container.
        jarFile - JAR resource representing module.
        Returns:
        true if module representing this dependency is already deployed
      • getModuleName

        public static String getModuleName​(InstalledLocalContainer container,
                                           String jarFile)
        Get module whole name for dependency.
        Parameters:
        container - WildFly installed local container.
        jarFile - JAR resource representing module.
        Returns:
        Name of module representing this dependency.
      • getDataSourceDriverModuleName

        public static String getDataSourceDriverModuleName​(InstalledLocalContainer container,
                                                           DataSource ds)
        Parameters:
        container - Container
        ds - DataSource.
        Returns:
        Name of module containing DataSource driver class.