Rio Project 4.2 API Documentation



org.rioproject.cybernode
Class Environment

java.lang.Object
  extended by 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

Constructor Summary
Environment()
           
 
Method Summary
static String setupProvisionRoot(boolean provisionEnabled, Configuration config)
           
static File setupRecordRoot(Configuration config)
          Setup the recordRoot directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Environment

public Environment()
Method Detail

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 © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.