@Override public void initialize(XMPPServer server) { super.initialize(server); infoHandler = server.getIQDiscoInfoHandler(); itemsHandler = server.getIQDiscoItemsHandler(); messageStore = server.getOfflineMessageStore(); userManager = server.getUserManager(); routingTable = server.getRoutingTable(); }
@Override public void initialize(XMPPServer server) { super.initialize(server); serverName = server.getServerInfo().getXMPPDomain(); rosterManager = server.getRosterManager(); }
public void initialize(XMPPServer server) { super.initialize(server); localServer = server; userManager = server.getUserManager(); router = server.getPacketRouter(); }
@Override public void stop() { super.stop(); infoHandler.removeServerNodeInfoProvider(NAMESPACE); itemsHandler.removeServerNodeInfoProvider(NAMESPACE); }
@Override public void start() throws IllegalStateException { super.start(); infoHandler.setServerNodeInfoProvider(NAMESPACE, this); itemsHandler.setServerNodeInfoProvider(NAMESPACE, this); }