@Override
 public void initialize(XMPPServer server) {
   super.initialize(server);
   infoHandler = server.getIQDiscoInfoHandler();
   itemsHandler = server.getIQDiscoItemsHandler();
   messageStore = server.getOfflineMessageStore();
   userManager = server.getUserManager();
   routingTable = server.getRoutingTable();
 }
Exemplo n.º 2
0
 @Override
 public void initialize(XMPPServer server) {
   super.initialize(server);
   serverName = server.getServerInfo().getXMPPDomain();
   rosterManager = server.getRosterManager();
 }
Exemplo n.º 3
0
 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);
 }