Class Entry


  • public class Entry
    extends java.lang.Object
    OMERO.blitz startup code. Replaces the standard Main class as the main application entry point. Uses Sun-specific APIs to handle signals.
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(java.lang.String name)
      Stores name of the OmeroContext which is to be used by this instance.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Entry point to the server.
      void shutdown​(boolean callSystemExit)
      Calls OmeroContext.closeAll() to recursively close all OMERO.blitz resources in the reverse order that they were created.
      void start()
      Obtains the named OmeroContext, creating it if necessary, and then delegates to Communicator.waitForShutdown() until either it is externally shutdown, or until a signal is caught.
      int status()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Entry

        public Entry​(java.lang.String name)
        Stores name of the OmeroContext which is to be used by this instance.
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Entry point to the server. The first argument on the command line will be used as the name for the OmeroContext. Other options include: -s Check status (all args passed to Util.initialize(String[])
      • start

        public void start()
        Obtains the named OmeroContext, creating it if necessary, and then delegates to Communicator.waitForShutdown() until either it is externally shutdown, or until a signal is caught.
      • status

        public int status()
      • shutdown

        public void shutdown​(boolean callSystemExit)
        Calls OmeroContext.closeAll() to recursively close all OMERO.blitz resources in the reverse order that they were created. Throws no exceptions. If true is passed for callSystemExit, then System.exit(int) will be called with the current status.