MailboxFactory mailboxFactory = JAMailboxFactory.newMailboxFactory(1);
try {
JAFuture future = new JAFuture();
Mailbox mailbox = mailboxFactory.createMailbox();
JAFactory factory = new JAFactory();
factory.initialize(mailbox);
factory.registerActorFactory(new TupleJidFactory(
"sst", StringJidFactory.fac, StringJidFactory.fac));
(new JidFactories()).initialize(mailbox, factory);
TupleJidFactory tjf = new TupleJidFactory(
"sst", StringJidFactory.fac, StringJidFactory.fac);