Class OA2ClientEnvironmentUtil
- java.lang.Object
-
- org.oa4mp.client.loader.OA2ClientEnvironmentUtil
-
public class OA2ClientEnvironmentUtil extends Object
A utility to allow for loading the client environment from outside the servlet.Created by Jeff Gaynor
on 3/5/13 at 12:14 PM
-
-
Constructor Summary
Constructors Constructor Description OA2ClientEnvironmentUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OA2ClientEnvironment
load(File configFile)
For the case that the configuration file has a single configuration in it.static OA2ClientEnvironment
load(File configFile, String configName)
-
-
-
Method Detail
-
load
public static OA2ClientEnvironment load(File configFile, String configName) throws Exception
- Throws:
Exception
-
load
public static OA2ClientEnvironment load(File configFile) throws Exception
For the case that the configuration file has a single configuration in it. This does not require a name to be loaded.- Parameters:
configFile
-- Returns:
- Throws:
Exception
-
-