Class UnifiedArchivePlugin

  • All Implemented Interfaces:
    java.lang.Comparable<tigase.xmpp.XMPPImplIfc>, tigase.xmpp.XMPPImplIfc, tigase.xmpp.XMPPProcessorConcurrencyAwareIfc, tigase.xmpp.XMPPProcessorIfc

    @Bean(name="unified-archive",
          parent=tigase.server.xmppsession.SessionManager.class,
          active=false)
    public class UnifiedArchivePlugin
    extends tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
    implements tigase.xmpp.XMPPProcessorIfc
    Author:
    andrzej
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String ID  
      protected tigase.archive.processors.MessageArchivePlugin messageArchivePlugin  
      • Fields inherited from class tigase.xmpp.XMPPProcessor

        ALL_NAMES, ALL_PATHS, cmpInfo
      • Fields inherited from interface tigase.xmpp.XMPPImplIfc

        CLIENT_XMLNS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String id()  
      void process​(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection session, tigase.db.NonAuthUserRepository nonAuthUserRepository, java.util.Queue<tigase.server.Packet> results, java.util.Map<java.lang.String,​java.lang.Object> map)  
      void setComponentJid​(tigase.xmpp.jid.JID componentJid)  
      void setMessageArchivePlugin​(tigase.archive.processors.MessageArchivePlugin messageArchivePlugin)  
      • Methods inherited from class tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor

        supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypes
      • Methods inherited from class tigase.xmpp.XMPPProcessor

        canHandle, compareTo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getQueueSize, getStatistics, getThreadsNo, init, isSupporting, supElements, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Comparable

        compareTo
      • Methods inherited from interface tigase.xmpp.XMPPImplIfc

        canHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getStatistics, init, isSupporting, supDiscoFeatures, supElementNamePaths, supElements, supNamespaces, supStreamFeatures, supTypes
    • Field Detail

      • messageArchivePlugin

        @Inject
        protected tigase.archive.processors.MessageArchivePlugin messageArchivePlugin
    • Constructor Detail

      • UnifiedArchivePlugin

        public UnifiedArchivePlugin()
    • Method Detail

      • setMessageArchivePlugin

        public void setMessageArchivePlugin​(tigase.archive.processors.MessageArchivePlugin messageArchivePlugin)
      • setComponentJid

        public void setComponentJid​(tigase.xmpp.jid.JID componentJid)
      • id

        public java.lang.String id()
        Specified by:
        id in interface tigase.xmpp.XMPPImplIfc
        Overrides:
        id in class tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
      • process

        public void process​(tigase.server.Packet packet,
                            tigase.xmpp.XMPPResourceConnection session,
                            tigase.db.NonAuthUserRepository nonAuthUserRepository,
                            java.util.Queue<tigase.server.Packet> results,
                            java.util.Map<java.lang.String,​java.lang.Object> map)
                     throws tigase.xmpp.XMPPException
        Specified by:
        process in interface tigase.xmpp.XMPPProcessorIfc
        Throws:
        tigase.xmpp.XMPPException