- All Implemented Interfaces:
- java.util.EventListener, javax.servlet.ServletContextListener
public class TeamchatContextListener
extends java.lang.Object
implements javax.servlet.ServletContextListener
Used to automatically start a bot when a war file is deployed to tomcat. In
order to use this, the following parameters are required in the tomcat
configuration file
bot-email : The email address of the bot bot-password : The password of the
bot bot-class : The fully qualified class name of the bot handler class
db-host : The hostname (or IP) where a MySQL database is running db-name :
The name of the MySQL database that can be used db-user : The user name to
access MySQL db-password: The password to access MySQL threading: The
threading strategy to use - SINGLE | QUEUE | MULTI
log-location : The location where the log file is to be generated.
log-level : The logging level to be used by the api.
log-filename : The name of the log file.
- Author:
- nirmesh