|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class is the interface for the main server class.
| Method Summary | |
java.lang.String |
getAmberRoot()
Returns the directory where the Amber server is currently running. |
ApplicationManager |
getApplicationManager()
This function returns the application manager object responsible for handling the requirements of managing applications and their associated handlers. |
ConnectionManager |
getConnectionManager()
This function returns the connection manager object responsible for handling incoming connections. |
DatabaseManager |
getDatabaseManager()
This function returns the database manager object responsible for handling incoming database connections. |
java.lang.String |
getDocumentRoot()
Returns the directory of the web server's document root. |
amber.utility.AmberLicenseKey |
getLicenseKey()
Returns the license key object. |
ConnectionHandler |
getManager(int type)
This function returns the manager object responsible for handling the requirements of the specified remote object type |
java.lang.String |
getNewSessionIdentifier()
This function returns a unique session identifier. |
void |
sendEmail(java.lang.String to,
java.lang.String from,
java.lang.String subject,
java.lang.String body,
java.lang.String smtpServer)
This function sends a mail message to the specified user. |
void |
setLoggingLevel(int level)
This function sets the level of logging in the server. |
void |
stopServer()
This function stops the server. |
| Method Detail |
public ConnectionHandler getManager(int type)
public ApplicationManager getApplicationManager()
public ConnectionManager getConnectionManager()
public DatabaseManager getDatabaseManager()
public void stopServer()
public void setLoggingLevel(int level)
throws ManagerException
level - int level to set the debugging to.
This corresponds to values in the Log object.ManagerException - with any errors.public java.lang.String getNewSessionIdentifier()
public amber.utility.AmberLicenseKey getLicenseKey()
public void sendEmail(java.lang.String to,
java.lang.String from,
java.lang.String subject,
java.lang.String body,
java.lang.String smtpServer)
to - String name of the recipient.from - String name of the sender.subject - String containing the subject of the e-mail.body - String containing the body of the text mail message.smtpServer - String containing the SMTP mail server address.public java.lang.String getAmberRoot()
public java.lang.String getDocumentRoot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||