|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fhg.igd.semoa.net.farsight.FarSightLauncher
Starts the farsight service with a certain configuration that is provided by
a properties file (see main(java.lang.String[])).
The Properties file can contain the following settings:
These are all tasks of the launcher:
FarSight,
FarSightImpl| Field Summary | |
private static FarSightImpl |
instance_
The Farsight service |
private static Logger |
log_
The Logger instance for this class |
private static String |
props_
A path that points to the FarSight properties file |
| Constructor Summary | |
FarSightLauncher()
|
|
| Method Summary | |
private static void |
initStrategy()
Creates discovery strategy objects as set in the properties |
private static void |
loadDefaultHosts()
Reads the default hosts from the properties file and forwards them to FarSight. |
static void |
main(String[] args)
Expects exactly one parameter which must be the relative path to the properties file of FarSightImpl. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static Logger log_
Logger instance for this class
private static FarSightImpl instance_
private static String props_
| Constructor Detail |
public FarSightLauncher()
| Method Detail |
public static void main(String[] args)
throws FarSightException,
ClassNotFoundException
FarSightImpl.
FarSightException
ClassNotFoundException
private static void initStrategy()
throws ClassNotFoundException
ClassNotFoundExceptionprivate static void loadDefaultHosts()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||