Class MongoDualIPRepository

  • All Implemented Interfaces:
    tigase.db.DataSourceAware<MongoDataSource>, tigase.server.xmppclient.SeeOtherHostDualIP.DualIPRepository<MongoDataSource>

    public class MongoDualIPRepository
    extends java.lang.Object
    implements tigase.server.xmppclient.SeeOtherHostDualIP.DualIPRepository<MongoDataSource>
    Author:
    Wojtek
    • Field Summary

      • Fields inherited from interface tigase.server.xmppclient.SeeOtherHostDualIP.DualIPRepository

        HOSTNAME_ID, SECONDARY_HOSTNAME_ID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<tigase.xmpp.jid.BareJID,​tigase.xmpp.jid.BareJID> queryAllDB()  
      void setDataSource​(MongoDataSource dataSource)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MongoDualIPRepository

        public MongoDualIPRepository()
    • Method Detail

      • queryAllDB

        public java.util.Map<tigase.xmpp.jid.BareJID,​tigase.xmpp.jid.BareJID> queryAllDB()
                                                                                        throws java.sql.SQLException
        Specified by:
        queryAllDB in interface tigase.server.xmppclient.SeeOtherHostDualIP.DualIPRepository<MongoDataSource>
        Throws:
        java.sql.SQLException
      • setDataSource

        public void setDataSource​(MongoDataSource dataSource)
        Specified by:
        setDataSource in interface tigase.db.DataSourceAware<MongoDataSource>