Class ServerVersionCheck


  • public class ServerVersionCheck
    extends java.lang.Object
    Hook run by the context. This hook prints an informative message on start() and stop().
    Since:
    3.0-Beta3
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger log  
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerVersionCheck​(java.lang.String version)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.slf4j.Logger log
    • Constructor Detail

      • ServerVersionCheck

        public ServerVersionCheck​(java.lang.String version)
    • Method Detail

      • start

        public void start()
                   throws java.lang.Exception
        Prints simple banner with OMERO version.
        Throws:
        java.lang.Exception
      • stop

        public void stop()
                  throws java.lang.Exception
        Prints simple banner with "Stopping OMERO"
        Throws:
        java.lang.Exception