ome.services.util
Class ServerDirectoryCheck

java.lang.Object
  extended by ome.services.util.ServerDirectoryCheck
All Implemented Interfaces:
Runnable

public class ServerDirectoryCheck
extends Object
implements Runnable

Hook run by the context at startup to create needed directories for the server.

Since:
4.3.0
Author:
Josh Moore, josh at glencoesoftware.com

Field Summary
static org.apache.commons.logging.Log log
           
 
Constructor Summary
ServerDirectoryCheck(String omeroDataDir)
           
 
Method Summary
 void createDirectories()
           
 void run()
          Synchronizes the ${omero.data.dir}/Server directory by creating a directory for any user who does not have one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.commons.logging.Log log
Constructor Detail

ServerDirectoryCheck

public ServerDirectoryCheck(String omeroDataDir)
Method Detail

run

public void run()
Synchronizes the ${omero.data.dir}/Server directory by creating a directory for any user who does not have one. Does not currently remove directories.

Specified by:
run in interface Runnable

createDirectories

public void createDirectories()


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.