Class WildFlyModuleUtils
- java.lang.Object
-
- org.codehaus.cargo.container.wildfly.internal.util.WildFlyModuleUtils
-
public final class WildFlyModuleUtils extends Object
Utility class providing informations about modules.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getDataSourceDriverModuleName(InstalledLocalContainer container, DataSource ds)
static String
getModuleName(InstalledLocalContainer container, String jarFile)
Get module whole name for dependency.static boolean
isModuleDeployed(InstalledLocalContainer container, String jarFile)
Check if resource is deployed as module.
-
-
-
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
- Containerds
- DataSource.- Returns:
- Name of module containing DataSource driver class.
-
-