org.codehaus.cargo.container.geronimo.internal
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.
- Version:
- $Id: GeronimoUtils.java 1705 2008-09-02 13:14:55Z adriana $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeronimoUtils
public GeronimoUtils()
createGeronimoURLClassloader
public ClassLoader createGeronimoURLClassloader(File geronimoHomeDir)
- Parameters:
geronimoHomeDir
- the geronimo home dir location
- Returns:
- a URL classloader containing all JARs located in
GERONIMO_HOME/lib
.
isGeronimoStarted
public boolean isGeronimoStarted(String host,
String rmiPort,
String username,
String password)
- Parameters:
host
- the host where Geronimo is executingrmiPort
- the RMI port to use to connect to the executing Geronimo serverusername
- the username to authenticate against the executing Geronimo Serverpassword
- the password to authenticate against the executing Geronimo Server
- Returns:
- true if Geronimo is fully started or false otherwise
Copyright © 2004-2012 Codehaus. All Rights Reserved.