Class GeronimoUtils
- java.lang.Object
-
- org.codehaus.cargo.container.geronimo.internal.GeronimoUtils
-
public class GeronimoUtils extends Object
Various utility methods such as checking is Geronimo is started.
-
-
Constructor Summary
Constructors Constructor Description GeronimoUtils(Configuration configuration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBundleId(Bundle bundle)
static String
getGeronimoExtraClasspathDependiesXML(InstalledLocalContainer container)
Returns the extra classpath dependencies XML for the Geronimo installed local container.boolean
isGeronimoStarted()
-
-
-
Constructor Detail
-
GeronimoUtils
public GeronimoUtils(Configuration configuration)
- Parameters:
configuration
- Configuration to use.
-
-
Method Detail
-
isGeronimoStarted
public boolean isGeronimoStarted()
- Returns:
- true if Geronimo is fully started or false otherwise
-
getGeronimoExtraClasspathDependiesXML
public static String getGeronimoExtraClasspathDependiesXML(InstalledLocalContainer container) throws IOException
Returns the extra classpath dependencies XML for the Geronimo installed local container.- Parameters:
container
- Geronimo installed local container.- Returns:
- Extra classpath dependencies XML for
container
. - Throws:
IOException
- If reading the JAR files in the extra classpath fail.
-
-