<!ELEMENT extension (imRobot)+>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
><!ELEMENT imRobot EMPTY>
<!ATTLIST imRobot
id CDATA #REQUIRED
containerFactoryName CDATA #REQUIRED
connectId CDATA #REQUIRED
name CDATA #IMPLIED
connectPassword CDATA #IMPLIED
>The imrobot extension point.
username@host[:port]
for example: slewis@ecf.eclipse.org
<extension point="org.eclipse.ecf.presence.bot.imRobot"> <imRobot connectID="slewis@ecf.eclipse.org" containerFactoryName="ecf.xmpp.smack" id="org.eclipse.ecf.presence.imbot.defaultbot"/> </imRobot> </extension>Note that to have the imrobot receive im messages and process them, that the immessagehandler should also be defined using the id for the imrobot given above. For example:
<extension point="org.eclipse.ecf.presence.bot.immessagehandler"> <handler imrobotid="org.eclipse.ecf.presence.imbot.defaultbot" class="org.eclipse.ecf.presence.imbot.DefaultIMMessageHandler"> </handler> </extension>
Copyright (c) 2007 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html