Rio Project 4.2 API Documentation
org.rioproject.cybernode
Class Environment
java.lang.Object
org.rioproject.cybernode.Environment
public class Environment
- extends Object
The Environment class provides methods to query and setup the operational
environment required by the Cybernode
- Author:
- Dennis Reedy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Environment
public Environment()
setupProvisionRoot
public static String setupProvisionRoot(boolean provisionEnabled,
Configuration config)
throws IOException
- Throws:
IOException
setupRecordRoot
public static File setupRecordRoot(Configuration config)
throws IOException
- Setup the recordRoot directory
- Parameters:
config - The Configuration to use
- Returns:
- File object for the record root directory
- Throws:
IOException - if there are errors accessing the file system
Copyright © 2006-2011 Rio Project. All Rights Reserved.