});
register(Singleton.class, new Factory<Connection>(Connection.class) {
@Override
public Connection create() {
return new BoshConnection($(Services.class));
}
}, new Factory<IMSessionManager>(IMSessionManager.class) {
@Override
public IMSessionManager create() {
return new IMSessionManager($(Connection.class));