|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ericdaugherty.mail.server.Mail
public class Mail
This class is the entrypoint for the Mail Server application. It creates threads to listen for SMTP and POP3 connections. It also handles the configuration information and initialization of the User subsystem.
Field Summary | |
---|---|
static boolean |
testing
|
Method Summary | |
---|---|
static Mail |
getInstance()
|
static boolean |
hasCompletedOperations()
If true all operations relating to system startup have completed |
static void |
instantiate(java.lang.String[] args)
|
boolean |
isShuttingDown()
If true a server shut down has been initiated. |
static void |
main(java.lang.String[] args)
This method is the entrypoint to the system and is responsible for the initial configuration of the application and the creation of all 'service' threads. |
void |
notifyChange()
|
void |
shutdown()
Provides a 'safe' way for the application to shut down. |
static void |
shutdown(java.lang.String[] args)
Provides a 'safe' way for the application to shut down. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean testing
Method Detail |
---|
public static void instantiate(java.lang.String[] args)
public static Mail getInstance()
public boolean isShuttingDown()
public static boolean hasCompletedOperations()
public static void shutdown(java.lang.String[] args)
args
- public void shutdown()
public static void main(java.lang.String[] args)
public void notifyChange()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |