org.eclipse.ecf.presence.bot.application
Class ChatRoomBotApplication

java.lang.Object
  extended by org.eclipse.ecf.presence.bot.application.ChatRoomBotApplication
All Implemented Interfaces:
org.eclipse.equinox.app.IApplication

public class ChatRoomBotApplication
extends java.lang.Object
implements org.eclipse.equinox.app.IApplication

Application for getting bots defined in extension registry and running them. This application will continue to run indefinitely. Subclasses may be implemented as desired.


Field Summary
 
Fields inherited from interface org.eclipse.equinox.app.IApplication
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART
 
Constructor Summary
ChatRoomBotApplication()
           
 
Method Summary
protected  java.util.Map getBotsFromExtensionRegistry()
           
 java.lang.Object start(org.eclipse.equinox.app.IApplicationContext context)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatRoomBotApplication

public ChatRoomBotApplication()
Method Detail

getBotsFromExtensionRegistry

protected java.util.Map getBotsFromExtensionRegistry()

start

public java.lang.Object start(org.eclipse.equinox.app.IApplicationContext context)
                       throws java.lang.Exception
Specified by:
start in interface org.eclipse.equinox.app.IApplication
Throws:
java.lang.Exception

stop

public void stop()
Specified by:
stop in interface org.eclipse.equinox.app.IApplication