public class Setup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TOMEE_BEAN_DISCOVERER_JAR |
Constructor and Description |
---|
Setup() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.io.File,java.lang.String> |
addTomEELibraries(java.io.File libFolder,
java.lang.String additionalLibs,
boolean parseArgs) |
static void |
configureServerXml(java.io.File tomeeHome,
TomEEConfiguration configuration) |
static void |
configureSystemProperties(java.io.File tomeeHome,
TomEEConfiguration configuration) |
static java.io.File |
downloadAndUnpack(java.io.File dir,
java.lang.String artifactID,
java.lang.String defaultTempDir) |
static java.io.File |
downloadFile(java.lang.String artifactName,
java.lang.String altUrl,
java.lang.String defaultTempDir) |
static void |
exportProperties(java.io.File tomeeHome,
TomEEConfiguration c,
boolean defaultMem) |
static java.io.File |
findHome(java.io.File directory) |
static java.io.File |
findHomeImpl(java.io.File directory) |
static void |
installArquillianBeanDiscoverer(java.io.File home) |
static boolean |
isRunning(java.lang.String host,
int port) |
static void |
reloadClientSerializationConfig() |
static void |
removeArquillianBeanDiscoverer(java.io.File home) |
static void |
removeUselessWebapps(java.io.File tomeeHome,
java.lang.String... exceptions) |
static void |
replace(java.util.Map<java.lang.String,java.lang.String> replacements,
java.io.File file,
boolean escape) |
static void |
synchronizeFolder(java.io.File tomeeHome,
java.lang.String src,
java.lang.String dir) |
static void |
updateServerXml(java.io.File tomeeHome,
TomEEConfiguration configuration) |
public static final java.lang.String TOMEE_BEAN_DISCOVERER_JAR
public static void exportProperties(java.io.File tomeeHome, TomEEConfiguration c, boolean defaultMem)
public static void updateServerXml(java.io.File tomeeHome, TomEEConfiguration configuration) throws java.io.IOException
java.io.IOException
public static java.io.File findHome(java.io.File directory)
public static java.io.File findHomeImpl(java.io.File directory)
public static java.io.File downloadAndUnpack(java.io.File dir, java.lang.String artifactID, java.lang.String defaultTempDir) throws LifecycleException
LifecycleException
public static java.io.File downloadFile(java.lang.String artifactName, java.lang.String altUrl, java.lang.String defaultTempDir)
public static boolean isRunning(java.lang.String host, int port)
public static void replace(java.util.Map<java.lang.String,java.lang.String> replacements, java.io.File file, boolean escape) throws java.io.IOException
java.io.IOException
public static void removeUselessWebapps(java.io.File tomeeHome, java.lang.String... exceptions)
public static void configureServerXml(java.io.File tomeeHome, TomEEConfiguration configuration) throws java.io.IOException
java.io.IOException
public static void configureSystemProperties(java.io.File tomeeHome, TomEEConfiguration configuration)
public static void reloadClientSerializationConfig()
public static void synchronizeFolder(java.io.File tomeeHome, java.lang.String src, java.lang.String dir)
public static void installArquillianBeanDiscoverer(java.io.File home)
public static void removeArquillianBeanDiscoverer(java.io.File home)
public static java.util.Map<java.io.File,java.lang.String> addTomEELibraries(java.io.File libFolder, java.lang.String additionalLibs, boolean parseArgs)