ome.services.util
Class ServerVersionCheck

java.lang.Object
  extended by ome.services.util.ServerVersionCheck

public class ServerVersionCheck
extends Object

Hook run by the context. This hook prints an informative message on start() and stop().

Since:
3.0-Beta3
Author:
Josh Moore, josh at glencoesoftware.com

Field Summary
static org.apache.commons.logging.Log log
           
 
Constructor Summary
ServerVersionCheck(String version)
           
 
Method Summary
 void start()
          Prints simple banner with OMERO version.
 void stop()
          Prints simple banner with "Stopping OMERO"
 
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

ServerVersionCheck

public ServerVersionCheck(String version)
Method Detail

start

public void start()
           throws Exception
Prints simple banner with OMERO version.

Throws:
Exception

stop

public void stop()
          throws Exception
Prints simple banner with "Stopping OMERO"

Throws:
Exception


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

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