Package org.forgerock.openig.config.env
Class IgInstanceDirFinder
java.lang.Object
org.forgerock.openig.config.env.IgInstanceDirFinder
This class is responsible for locating the IG instance directory. It will iterate through some well-known
environment variables, system properties and if none was specified by the user then it will default
to the platform standard directory.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
System property name that can be specified through command line. -
Method Summary
-
Field Details
-
INSTANCE_SYSTEM_PROPERTY
System property name that can be specified through command line.java -Dig.instance.dir=/my/openig/path ....
- See Also:
-
-
Method Details
-
find
Find the directory that will be used as the base directory.- Returns:
- the directory that will be used as the base directory.
-