public class Entry extends Object
Main
as the main application entry
point. Uses Sun-specific APIs to handle signals.Constructor and Description |
---|
Entry(String name)
Stores name of the
OmeroContext which is to be used by this
instance. |
Modifier and Type | Method and Description |
---|---|
static void |
main(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() |
public Entry(String name)
OmeroContext
which is to be used by this
instance.public static void main(String[] args)
OmeroContext
via
Main2#Main(String)
. Other options include:
-s Check status (all args passed to Ice.Util.initialize(String[])
public void start()
named
OmeroContext
, creating it if
necessary, and then delegates to
Communicator.waitForShutdown()
until either it is externally
shutdown, or until a signal is caught.public int status()
public void shutdown(boolean callSystemExit)
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.
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.