public class DistributorHelper
extends java.lang.Object
Constructor and Description |
---|
DistributorHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addShutdownHook()
Add the shutdown hook, which will be called before jvm ends.
|
static java.lang.String |
aoExceptionToString(AoException aoException)
Get the string of the AoException.
|
java.lang.String |
getAvalonVersion()
Returns the Avalon version
|
java.lang.String |
getHostname()
Returns the hostname.
|
static void |
initLogger(java.util.Properties cmdLine)
Initializes the java.util.logging service
|
void |
printInfoMessage(DistributorProperties properties,
CorbaManager corba)
Prints the info message
|
void |
printStartLogo()
Prints the Avalon Distributor start logo
|
static void |
printThreadInfo()
Print all of the thread's information and stack traces.
|
static java.lang.String |
severityFlagToString(SeverityFlag sevFlag)
Get the string of the SeverityFlag.
|
static boolean |
startRessourceMonitor(java.lang.String[] args)
Starts the ressource monitor
|
public static void initLogger(java.util.Properties cmdLine)
public static boolean startRessourceMonitor(java.lang.String[] args)
public static void addShutdownHook()
public static void printThreadInfo()
public static java.lang.String aoExceptionToString(AoException aoException)
aoException
- the exception.public static java.lang.String severityFlagToString(SeverityFlag sevFlag)
sevFlag
- the severity flag.public java.lang.String getHostname()
public java.lang.String getAvalonVersion()
public void printStartLogo()
public void printInfoMessage(DistributorProperties properties, CorbaManager corba)