EmiteGWT/emite — pull request #31 by tguless (2011-12-08 14:59:45+00:00)
Title: The following changes allow multiple instances of Emite to be created.

@Inject
SiteChat(@LoginXmppMap HashMap loginXmppMap, LoginXmpp loginXmpp) {
this.loginXmppMap = loginXmppMap;
this.loginXmpp = loginXmpp;
loginXmppMap.put(login, loginXmpp);

connection = loginXmpp.xmppConnection;
connection.setSettings(new ConnectionSettings("mainmodule/proxy", GlobalRegistry.serverInfo.chatServer));
session = loginXmpp.xmppSession;

session.login(uri(login+"@" + GlobalRegistry.serverInfo.chatServer),password);

createHablar();
}