Rio Project 4.2 API Documentation



org.rioproject.monitor
Class FileSystemOARDeployHandler

java.lang.Object
  extended by org.rioproject.monitor.AbstractOARDeployHandler
      extended by org.rioproject.monitor.FileSystemOARDeployHandler
All Implemented Interfaces:
DeployHandler

public class FileSystemOARDeployHandler
extends AbstractOARDeployHandler

A DeployHandler that handles OAR files. This DeployHandler uses two directories; a dropDirectory, and a installDirectory.

The dropDirectory is polled for files ending in ".oar". If found, the OAR files are installed to the installDirectory, where OperationalStrings are created and returned.


Field Summary
 
Fields inherited from class org.rioproject.monitor.AbstractOARDeployHandler
logger, opStringLoader
 
Constructor Summary
FileSystemOARDeployHandler(File dir)
          Create a FileSystemOARDeployHandler with the same drop and install directory
FileSystemOARDeployHandler(File dropDirectory, File installDirectory)
          Create a FileSystemOARDeployHandler with drop and install directories
 
Method Summary
protected  List<OperationalString> look(Date from)
           
 
Methods inherited from class org.rioproject.monitor.AbstractOARDeployHandler
install, install, listofOperationalStrings, listofOperationalStrings, parseOAR
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemOARDeployHandler

public FileSystemOARDeployHandler(File dir)
Create a FileSystemOARDeployHandler with the same drop and install directory

Parameters:
dir - The drop and installation directory for OAR files

FileSystemOARDeployHandler

public FileSystemOARDeployHandler(File dropDirectory,
                                  File installDirectory)
Create a FileSystemOARDeployHandler with drop and install directories

Parameters:
dropDirectory - The directory where OAR files will be dropped
installDirectory - The directory to install OARs into
Method Detail

look

protected List<OperationalString> look(Date from)
Specified by:
look in class AbstractOARDeployHandler

Copyright © Rio Project.

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