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

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

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

Application for getting im 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
IMBotApplication()
           
 
Method Summary
protected  java.util.Map getIMBotsFromExtensionRegistry()
           
 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

IMBotApplication

public IMBotApplication()
Method Detail

getIMBotsFromExtensionRegistry

protected java.util.Map getIMBotsFromExtensionRegistry()

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