- 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
- Author:
- nirmesh