org.figure8.join.core.setup
Class JoinHomeLocator

java.lang.Object
  extended by org.figure8.join.core.setup.JoinHomeLocator

public class JoinHomeLocator
extends java.lang.Object

Helper for finding Join application home path.

Version:
$Revision: 1.2 $
Author:
Laurent Broudoux

Field Summary
static java.lang.String JOIN_HOME
          Property denoting Join application home location.
protected  org.apache.commons.logging.Log log
          Logger
static java.lang.String PROPERTIES_FILE
          Name of the file containing Join application home location property.
 
Constructor Summary
JoinHomeLocator()
          Creates a new instance of JoinHomeLocator
 
Method Summary
 java.lang.String getHomePath()
          Retrieve the path value of the JoinHome property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JOIN_HOME

public static final java.lang.String JOIN_HOME
Property denoting Join application home location.

See Also:
Constant Field Values

PROPERTIES_FILE

public static final java.lang.String PROPERTIES_FILE
Name of the file containing Join application home location property.

See Also:
Constant Field Values

log

protected org.apache.commons.logging.Log log
Logger

Constructor Detail

JoinHomeLocator

public JoinHomeLocator()
Creates a new instance of JoinHomeLocator

Method Detail

getHomePath

public java.lang.String getHomePath()
Retrieve the path value of the JoinHome property. Try first, retrieving it from System property and then from properties file in classpath.



Copyright © 2005-2008 Join. All Rights Reserved.